✏️ 修复我好了

This commit is contained in:
Kanri 2021-09-08 09:40:45 +08:00 committed by GitHub
parent aab28717c6
commit 99a5960794

View File

@ -204,7 +204,7 @@ func init() { // 插件主体
zero.OnKeywordGroup([]string{"我好了"}, atriSwitch(), atriSleep()).SetBlock(true).SetPriority(prio). zero.OnKeywordGroup([]string{"我好了"}, atriSwitch(), atriSleep()).SetBlock(true).SetPriority(prio).
Handle(func(ctx *zero.Ctx) { Handle(func(ctx *zero.Ctx) {
time.Sleep(time.Second * 1) time.Sleep(time.Second * 1)
ctx.SendChain(message.Reply(ctx.Event.MessageID), message.Text(randText("不许好!", "憋回去!"))) ctx.SendChain(message.Reply(ctx.Event.MessageID), randText("不许好!", "憋回去!"))
}) })
zero.OnFullMatchGroup([]string{"", "?", "¿"}, atriSwitch(), atriSleep()).SetBlock(true).SetPriority(prio). zero.OnFullMatchGroup([]string{"", "?", "¿"}, atriSwitch(), atriSleep()).SetBlock(true).SetPriority(prio).
Handle(func(ctx *zero.Ctx) { Handle(func(ctx *zero.Ctx) {