🐛 fix: aireply 表情

This commit is contained in:
fumiama
2022-01-14 13:34:46 +08:00
parent 23393d9157
commit 9cfa44d434
3 changed files with 6 additions and 6 deletions

View File

@@ -37,10 +37,11 @@ func init() { // 插件主体
// 回复
time.Sleep(time.Second * 1)
if ctx.Event.MessageType == "group" {
ctx.SendChain(message.Reply(ctx.Event.MessageID), reply)
reply = append(reply, message.Reply(ctx.Event.MessageID))
ctx.Send(reply)
return
}
ctx.SendChain(reply)
ctx.Send(reply)
})
engine.OnPrefix(`设置回复模式`).SetBlock(true).SetPriority(20).
Handle(func(ctx *zero.Ctx) {