@@ -12,7 +12,6 @@ import (
12
12
"github.com/FloatTech/AnimeAPI/ascii2d"
13
13
"github.com/FloatTech/AnimeAPI/pixiv"
14
14
"github.com/FloatTech/AnimeAPI/saucenao"
15
- "github.com/FloatTech/AnimeAPI/yandex"
16
15
17
16
"github.com/FloatTech/zbputils/control"
18
17
"github.com/FloatTech/zbputils/ctxext"
@@ -107,22 +106,7 @@ func init() { // 插件主体
107
106
)
108
107
continue
109
108
}
110
- if result , err := yandex .Yandex (pic ); err != nil {
111
- ctx .SendChain (message .Text ("ERROR:" , err ))
112
- } else {
113
- ctx .SendChain (
114
- message .Text ("也许是这个?" ),
115
- message .Text (
116
- "\n " ,
117
- "标题:" , result .Title , "\n " ,
118
- "插画ID:" , result .Pid , "\n " ,
119
- "画师:" , result .UserName , "\n " ,
120
- "画师ID:" , result .UserId , "\n " ,
121
- "直链:" , "https://pixivel.moe/detail?id=" , result .Pid ,
122
- ),
123
- )
124
- }
125
- // 不论结果如何都执行 ascii2d 搜索
109
+ // ascii2d 搜索
126
110
if result , err := ascii2d .Ascii2d (pic ); err != nil {
127
111
ctx .SendChain (message .Text ("ERROR:" , err ))
128
112
continue
0 commit comments