feat: 强化#搜书功能

This commit is contained in:
zhiyu1998 2023-03-16 17:39:02 +08:00
parent 8ba5c51e19
commit ea58029837

View File

@ -420,7 +420,6 @@ export class query extends plugin {
// 主要数据来源 // 主要数据来源
await Promise.all([getZHelper(e, keyword), getYiBook(e, keyword)]).then(async allRes => { await Promise.all([getZHelper(e, keyword), getYiBook(e, keyword)]).then(async allRes => {
const [zHelper, yiBook] = allRes; const [zHelper, yiBook] = allRes;
console.log(allRes);
if (!_.isUndefined(yiBook) && yiBook.length > 0) { if (!_.isUndefined(yiBook) && yiBook.length > 0) {
await e.reply(await Bot.makeForwardMsg(yiBook)); await e.reply(await Bot.makeForwardMsg(yiBook));
} }