mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
✨ feat: 新增携带 dy 评论 [#IACU74]
1. 新增评论,默认不开启,可以自己配置后开启
This commit is contained in:
parent
4ed06a0eee
commit
0c743cdc0f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user