mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
✨ feat: 强化#搜书功能
This commit is contained in:
parent
8ba5c51e19
commit
ea58029837
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user