From 27e69ef022f12bd88aa448fecab0cb8eb8be67d0 Mon Sep 17 00:00:00 2001 From: fumiama Date: Tue, 1 Mar 2022 17:30:59 +0800 Subject: [PATCH] =?UTF-8?q?yandex=E4=B8=8Eascii2d=E5=B9=B6=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/saucenao/searcher.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin/saucenao/searcher.go b/plugin/saucenao/searcher.go index 9c9763cc..1aa5cc9b 100644 --- a/plugin/saucenao/searcher.go +++ b/plugin/saucenao/searcher.go @@ -111,9 +111,8 @@ func init() { // 插件主体 if result, err := yandex.Yandex(pic); err != nil { ctx.SendChain(message.Text("ERROR: ", err)) } else { - // 返回SauceNAO的结果 ctx.SendChain( - message.Text("我有把握是这个!"), + message.Text("也许是这个?"), message.Text( "\n", "标题:", result.Title, "\n", @@ -123,8 +122,8 @@ func init() { // 插件主体 "直链:", "https://pixivel.moe/detail?id=", result.Pid, ), ) - continue } + // 不论结果如何都执行 ascii2d 搜索 if result, err := ascii2d.Ascii2d(pic); err != nil { ctx.SendChain(message.Text("ERROR: ", err)) continue