feat: 新增携带 dy 评论 [#IACU74]

1. 新增评论,默认不开启,可以自己配置后开启
This commit is contained in:
zhiyu1998 2024-07-15 20:40:45 +08:00
parent 4ed06a0eee
commit 0c743cdc0f

View File

@ -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;