⚗️ SauceNAO判断消息是否有图片

This commit is contained in:
yeyang
2023-02-04 00:48:56 +08:00
parent 06ecb8c071
commit a889930ef9

View File

@@ -15,6 +15,7 @@ export class newPicSearch extends plugin {
}
async search (e) {
if (!e.img) return e.reply('请将图片与消息一起发送')
let msg = await PicSearch.SauceNAO(e.img[0])
common.getforwardMsg(e, msg)
}