mirror of
https://shylinux.com/x/icebergs
synced 2025-04-27 09:48:28 +08:00
opt feel
This commit is contained in:
parent
58ef8ff511
commit
771c8ebc9d
@ -16,15 +16,9 @@ func init() {
|
||||
)},
|
||||
},
|
||||
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",
|
||||
), 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) {
|
||||
_wiki_upload(m, FEEL, m.Option(kit.MDB_PATH))
|
||||
}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user