FloatTech / ZeroBot-Plugin

基于 ZeroBot 的 OneBot 插件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

以图搜图分开发会报错,自测百分百复现,并且一起发 ascii2d搜图没法出结果

chenyue314 opened this issue · comments

commented

image

[ERROR] [bot] execute handler err: interface conversion: interface {} is nil, not []string
goroutine 2754 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:24 +0x65
github.com/wdvxdr1123/ZeroBot.match.func2.1.1()
github.com/wdvxdr1123/ZeroBot@v1.6.8/bot.go:250 +0x45
panic({0x11ecae0, 0xc0002adf20})
runtime/panic.go:884 +0x212
github.com/FloatTech/ZeroBot-Plugin/plugin/saucenao.init.0.func2(0xc00008a820)
github.com/FloatTech/ZeroBot-Plugin/plugin/saucenao/searcher.go:113 +0x15de
github.com/wdvxdr1123/ZeroBot.match.func2.1()
github.com/wdvxdr1123/ZeroBot@v1.6.8/bot.go:253 +0x68
created by github.com/wdvxdr1123/ZeroBot.match.func2
github.com/wdvxdr1123/ZeroBot@v1.6.8/bot.go:246 +0xaa

合并图片发,没有ascii2d搜图的结果

image

搜图saucenao是第一优先的,这个结果了就不会触发ascii2d
没有才会向下查找

fixed.

commented

现在分开发还是查不了
image
image
image
image

commented

fixed.

分开发还是查不到,提示未获取图片链接

试试最新

commented

试试最新

可以了,谢谢你