From 6ce6f2132bfdc4e777e03cbd471954a3a2a92cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8D=E8=A3=85=E5=B0=8F=E7=A7=83?= Date: Thu, 21 Mar 2024 01:16:04 +0000 Subject: [PATCH] =?UTF-8?q?=E8=AE=A9=E5=96=B5=E5=96=B5/=E5=92=8C#=E9=83=BD?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E8=A7=A6=E5=8F=91=20=E7=8E=A9=E5=AE=98?= =?UTF-8?q?=E6=96=B9BOT=EF=BC=8C=E9=80=82=E9=85=8D=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 重装小秃 --- apps/help.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/help.js b/apps/help.js index 7531d6ea..46ebccfe 100644 --- a/apps/help.js +++ b/apps/help.js @@ -9,14 +9,14 @@ let app = App.init({ app.reg({ help: { - rule: /^#?(喵喵)?(命令|帮助|菜单|help|说明|功能|指令|使用说明)$/, + rule: /^(\/|#)?(喵喵)?(命令|帮助|菜单|help|说明|功能|指令|使用说明)$/, fn: Help.render, - desc: '【#帮助】 #喵喵帮助' + desc: '【#/帮助】 #/喵喵帮助' }, version: { - rule: /^#?喵喵版本$/, + rule: /^(\/|#)?喵喵版本$/, fn: Help.version, - desc: '【#帮助】 喵喵版本介绍' + desc: '【#/帮助】 #/喵喵版本介绍' } })