diff --git a/apps/handle.js b/apps/handle.js index a4d6b69..11955ee 100644 --- a/apps/handle.js +++ b/apps/handle.js @@ -120,7 +120,7 @@ export class anotice extends plugin { await common.sleep(2000) } let msg = [ - `本次共${yes ? '同意' : '拒绝'}${FriendAdd.length}条申请\n成功:${success.length}\n失败:${fail.length}` + `本次共${yes ? '同意' : '拒绝'}${FriendAdd.length}条好友申请\n成功:${success.length}\n失败:${fail.length}` ] if (!lodash.isEmpty(success)) msg.push([`以下为成功的名单:\n`, success.join("\n")]) if (!lodash.isEmpty(fail)) msg.push([`以下为失败的名单:\n`, fail.join("\n")]) @@ -401,7 +401,7 @@ export class anotice extends plugin { if (!lodash.isEmpty(onewayFriend)) msg.push(`单向好友:${onewayFriend.length}条`) if (e.isGroup) { GroupAdd = GroupAdd.filter(item => item.group_id == e.group.id) - if (!lodash.isEmpty(GroupAdd)) msg.push(`当前群申请:${GroupAdd.length}`) + if (!lodash.isEmpty(GroupAdd)) msg.push(`当前群申请:${GroupAdd.length}条`) } if (lodash.isEmpty(msg)) return e.reply("好耶!!一条请求都没有哦o( ❛ᴗ❛ )o", true) msg.unshift("以下为暂未处理的请求") diff --git a/apps/pixiv.js b/apps/pixiv.js index d61302d..77acadb 100644 --- a/apps/pixiv.js +++ b/apps/pixiv.js @@ -93,8 +93,11 @@ export class example extends plugin { for (let i of url) { img.push(segment.image(i)) } - - Cfg.recallsendMsg(e, img) + if (img.length == 1) { + Cfg.recallsendMsg(e, img) + } else { + Cfg.getCDsendMsg(e, img, false) + } return true; }