fix: 命令精准匹配

This commit is contained in:
ikechan8370 2023-03-03 21:12:13 +08:00
parent 2787acb99c
commit e580928b9b
2 changed files with 6 additions and 6 deletions

View file

@ -129,7 +129,7 @@ export class help extends plugin {
priority: 500,
rule: [
{
reg: '#(chatgpt|ChatGPT)(命令|帮助|菜单|help|说明|功能|指令|使用说明)',
reg: '^#(chatgpt|ChatGPT)(命令|帮助|菜单|help|说明|功能|指令|使用说明)$',
fnc: 'help'
}
]