Skip to content

Commit 9cfa44d

Browse files
committed
🐛 fix: aireply 表情
1 parent 23393d9 commit 9cfa44d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/FloatTech/ZeroBot-Plugin
33
go 1.17
44

55
require (
6-
github.com/FloatTech/AnimeAPI v1.2.2
6+
github.com/FloatTech/AnimeAPI v1.2.3
77
github.com/FloatTech/zbputils v1.2.3-add9
88
github.com/antchfx/htmlquery v1.2.4
99
github.com/corona10/goimagehash v1.0.3

go.sum

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
github.com/FloatTech/AnimeAPI v1.2.2 h1:Og3rLtsC/5k2elJ38/ux9wITJJDT7nUylsJOqmNpZ4E=
2-
github.com/FloatTech/AnimeAPI v1.2.2/go.mod h1:kizVlcmBE2Pr2FGmC7H+xfyhyvUXTOibXaqBTQAnY3U=
1+
github.com/FloatTech/AnimeAPI v1.2.3 h1:NywV8PxKun6oDcKndsrUKT8l7vHGnf0rm5sRrSZ7qSc=
2+
github.com/FloatTech/AnimeAPI v1.2.3/go.mod h1:feTdgda0dckTeNl5VCXYlYEgN0wQbrca7TjIlZyph4o=
33
github.com/FloatTech/bot-manager v1.0.0/go.mod h1:8YYRJ16oroGHQGD2En0oVnmcKJkxR9O/jd5BPSfWfOQ=
4-
github.com/FloatTech/zbputils v1.2.3-add8/go.mod h1:ZIuQP4tuhn7jiowEy+PALiHmr4zzPQBj4VdjEyd5/Es=
54
github.com/FloatTech/zbputils v1.2.3-add9 h1:lovWc7uvaqSww1TV8/BlGZNf5o2jBUgU4VIlXCusgrI=
65
github.com/FloatTech/zbputils v1.2.3-add9/go.mod h1:ZIuQP4tuhn7jiowEy+PALiHmr4zzPQBj4VdjEyd5/Es=
76
github.com/Mrs4s/MiraiGo v0.0.0-20211120033824-43b23f4e6fcb h1:Rkj28fqIwGx/EgBzRYtpmJRfH6wqVn7cNdc7aJ0QE4M=

plugin_ai_reply/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ func init() { // 插件主体
3737
// 回复
3838
time.Sleep(time.Second * 1)
3939
if ctx.Event.MessageType == "group" {
40-
ctx.SendChain(message.Reply(ctx.Event.MessageID), reply)
40+
reply = append(reply, message.Reply(ctx.Event.MessageID))
41+
ctx.Send(reply)
4142
return
4243
}
43-
ctx.SendChain(reply)
44+
ctx.Send(reply)
4445
})
4546
engine.OnPrefix(`设置回复模式`).SetBlock(true).SetPriority(20).
4647
Handle(func(ctx *zero.Ctx) {

0 commit comments

Comments
 (0)