1
0
forked from x/icebergs
icebergs/misc/wx/event.go
2022-08-01 18:09:36 +08:00

20 lines
437 B
Go

package wx
import (
ice "shylinux.com/x/icebergs"
)
const EVENT = "event"
func init() {
Index.MergeCommands(ice.Commands{
EVENT: {Name: "event", Help: "事件", Actions: ice.Actions{
"subscribe": {Name: "subscribe", Help: "订阅", Hand: func(m *ice.Message, arg ...string) {
m.Cmdy(MENU, "home")
}},
"unsubscribe": {Name: "unsubscribe", Help: "取关", Hand: func(m *ice.Message, arg ...string) {
}},
}},
})
}