1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00
icebergs/misc/lark/duty.go
2022-06-19 12:12:58 +08:00

17 lines
363 B
Go

package lark
import (
ice "shylinux.com/x/icebergs"
)
const DUTY = "duty"
func init() {
Index.Merge(&ice.Context{Commands: map[string]*ice.Command{
DUTY: {Name: "duty [title] text run", Help: "通告", Hand: func(m *ice.Message, arg ...string) {
msg := m.Cmd(APP, m.Option(APP_ID))
m.Cmdy(SEND, msg.Append(APPID), msg.Append(DUTY), arg)
}},
}})
}