【发布时间】:2020-04-10 04:48:30
【问题描述】:
我想列出对 Discord 做出反应的用户。
let MyChannel = client.channels.get('573534660852711426');
MyChannel.fetchMessage('656352072806957066').then(themessage => {
for (const reaction of themessage.reactions){
for (let user of reaction.users){
console.log(user);
}
console.log(reaction);
}
});
这是我的代码,但它不起作用。你能帮帮我吗?
谢谢。
【问题讨论】:
-
当你说它不起作用时,它会给你一个错误、一个不正确的答案还是什么都没有发生?
标签: javascript discord discord.js