✏️ 取消部分 @ 以免多次匹配

This commit is contained in:
fumiama
2021-09-09 00:45:49 +08:00
parent ebf58d4b73
commit cb3cfa054b
3 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ func init() { // 插件主体
// TODO: 1.17 特性暂不增加
// rand.Seed(time.Now().UnixMicro())
rand.Seed(time.Now().UnixNano())
zero.OnFullMatchGroup([]string{"求签", "运势", "占卜"}, zero.OnlyToMe).SetPriority(10).
zero.OnFullMatchGroup([]string{"求签", "运势", "占卜"}).SetPriority(10).
Handle(func(ctx *zero.Ctx) {
miku := rand.Intn(100) + 1
ctx.SendChain(