#when i reacted to the msg it is not repling

11 messages · Page 1 of 1 (latest)

forest galleon
#

code:```js
if (message.content.includes("r_test")) {
message.react('👍').then(() => message.react('👎'));

const filter = (reaction, user) => {
    return ['👍', '👎'].includes(reaction.emoji.name) && user.id === interaction.user.id;
};

message.awaitReactions({ filter, max: 1, time: 0, errors: ['time'] })
  .then(collected => {
      const reaction = collected.first();
  
      if (reaction.emoji.name === '👍') {
          message.channel.send('You reacted with a tick_mark up.');
      } else {
          message.channel.s('You reacted with a thumbs down.');
      }
  })
  .catch(collected => {
      message.reply('You reacted with neither a tick up, nor a thumbs down.');
      });

}

when i react no reply?? why??![JS](https://cdn.discordapp.com/emojis/1081597929061630048.webp?size=128 "JS")
light cairn
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

topaz tundra
#

Do not crosspost

karmic girder
#

It should be .send like the previous one.

forest galleon
honest shell
#

Got GuildMessageReactions intent?

forest galleon
honest shell
#

There’s your issue then

forest galleon
raw bronzeBOT
#

• Websocket intents limit events and decrease memory usage: learn more
• See what intents you need here