1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-27 17:58:29 +08:00
This commit is contained in:
shaoying 2021-01-10 15:19:49 +08:00
parent 58ef8ff511
commit 771c8ebc9d

View File

@ -16,15 +16,9 @@ func init() {
)}, )},
}, },
Commands: map[string]*ice.Command{ Commands: map[string]*ice.Command{
FEEL: {Name: "feel path auto choose@chooseImage upload 上一页 下一页 下载 参数 background", Help: "影音媒体", Meta: kit.Dict( FEEL: {Name: "feel path auto upload 上一页 下一页 参数", Help: "影音媒体", Meta: kit.Dict(
"display", "/plugin/local/wiki/feel.js", "display", "/plugin/local/wiki/feel.js",
), Action: map[string]*ice.Action{ ), Action: map[string]*ice.Action{
"choose": {Name: "choose", Help: "本机照片", Hand: func(m *ice.Message, arg ...string) {
_wiki_upload(m, FEEL, m.Option(kit.MDB_PATH))
}},
"background": {Name: "background", Help: "背景", Hand: func(m *ice.Message, arg ...string) {
m.Conf("web.chat.header", "background")
}},
web.UPLOAD: {Name: "upload", Help: "上传", Hand: func(m *ice.Message, arg ...string) { web.UPLOAD: {Name: "upload", Help: "上传", Hand: func(m *ice.Message, arg ...string) {
_wiki_upload(m, FEEL, m.Option(kit.MDB_PATH)) _wiki_upload(m, FEEL, m.Option(kit.MDB_PATH))
}}, }},