File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/FloatTech/ZeroBot-Plugin
33go 1.17
44
55require (
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
Original file line number Diff line number Diff line change 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 =
33github.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 =
54github.com/FloatTech/zbputils v1.2.3-add9 h1:lovWc7uvaqSww1TV8/BlGZNf5o2jBUgU4VIlXCusgrI =
65github.com/FloatTech/zbputils v1.2.3-add9 /go.mod h1:ZIuQP4tuhn7jiowEy+PALiHmr4zzPQBj4VdjEyd5/Es =
76github.com/Mrs4s/MiraiGo v0.0.0-20211120033824-43b23f4e6fcb h1:Rkj28fqIwGx/EgBzRYtpmJRfH6wqVn7cNdc7aJ0QE4M =
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments