From 0c743cdc0fa1052f5496afe998a37e7798b52b36 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Mon, 15 Jul 2024 20:40:45 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E6=90=BA?= =?UTF-8?q?=E5=B8=A6=20dy=20=E8=AF=84=E8=AE=BA=20[#IACU74]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增评论,默认不开启,可以自己配置后开启 --- apps/tools.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 05215f5..60fc6c9 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -331,11 +331,7 @@ export class tools extends plugin { } // 如果开启评论的就调用 if (this.douyinComments) { - const comments = (await this.douyinComment(douId)).unshift({ - message: "前20条热门评论", - nickname: this.e.sender.card || this.e.user_id, - user_id: this.e.user_id, - }); + const comments = await this.douyinComment(douId); e.reply(await Bot.makeForwardMsg(comments)); } return true;