✏️ 修复帮助冲突

This commit is contained in:
fumiama
2021-09-10 14:43:44 +08:00
parent f9a914926e
commit e8503e97e3
2 changed files with 3 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ func main() {
})
// 帮助
zero.OnFullMatchGroup([]string{"help", "/help", ".help", "菜单", "帮助"}, zero.OnlyToMe).SetBlock(true).SetPriority(999).
zero.OnFullMatchGroup([]string{"/help", ".help", "菜单"}, zero.OnlyToMe).SetBlock(true).FirstPriority().
Handle(func(ctx *zero.Ctx) {
ctx.Send(banner)
})