Home > Blockchain >  TypeError: message.reactions.fetch is not a function
TypeError: message.reactions.fetch is not a function

Time:10-28

  client.on('messageCreate', async(message) => {
    if (message.author.bot)return
    const args = message.content.slice(prefix.length).trim().split(/  /g);
    const command = args.shift().toLowerCase();
        if(message.content.startsWith('!reroll')){
          if(!message.member.permissions.has("ADMINISTRATOR")) return;
                const content = args.join(' ');
                let winner = message.reactions.fetch(content).cache.get("           
  • Related