mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +00:00
让喵喵/和#都可以触发
玩官方BOT,适配一下 Signed-off-by: 重装小秃 <v17360963@gmail.com>
This commit is contained in:
parent
d3556cb940
commit
6ce6f2132b
@ -9,14 +9,14 @@ let app = App.init({
|
|||||||
|
|
||||||
app.reg({
|
app.reg({
|
||||||
help: {
|
help: {
|
||||||
rule: /^#?(喵喵)?(命令|帮助|菜单|help|说明|功能|指令|使用说明)$/,
|
rule: /^(\/|#)?(喵喵)?(命令|帮助|菜单|help|说明|功能|指令|使用说明)$/,
|
||||||
fn: Help.render,
|
fn: Help.render,
|
||||||
desc: '【#帮助】 #喵喵帮助'
|
desc: '【#/帮助】 #/喵喵帮助'
|
||||||
},
|
},
|
||||||
version: {
|
version: {
|
||||||
rule: /^#?喵喵版本$/,
|
rule: /^(\/|#)?喵喵版本$/,
|
||||||
fn: Help.version,
|
fn: Help.version,
|
||||||
desc: '【#帮助】 喵喵版本介绍'
|
desc: '【#/帮助】 #/喵喵版本介绍'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user