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) { }}, }}, }) }