我花了大约一个月的时间在积极开发一个不和谐的机器人,但我有一个问题,那就是如何从ReactionCollector的反应中吸引用户 我知道你可以用这个例子来理解这个问题: bot.on('messageReactionAdd',(reaction,user)=>{
console.log(user); //Return the us
现在我正在创建一个reaction收集器,它可以工作,但机器人会将reaction添加到我的消息中,而不是它自己的消息中,但是当我让它将reaction添加到它自己时,我不能使用promise中为收集器使用的变量import { ICommand } from 'wokcommands'
import { Message, M
bot.on('messageReactionAdd', async (reaction, user) => { letreturn message.reply(':x: You must go to the channel #alerts');});
这是我的bot.js的一部分。我希望用户在某个渠道中<