You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacting to a message then checking messageReaction.me no longer works. This regression appears to have happened on discord.js v13.2.0.
Code sample
import{Client,Intents}from"discord.js";import'dotenv/config';constclient=newClient({intents: [Intents.FLAGS.GUILDS,Intents.FLAGS.GUILD_MESSAGES,Intents.FLAGS.GUILD_MESSAGE_REACTIONS]});client.on('messageReactionAdd',async(messageReaction)=>{console.log(messageReaction.emoji.name,messageReaction.me,messageReaction.users.cache.has(client.user.id))if(!messageReaction.me){awaitmessageReaction.message.react(messageReaction.emoji);}});client.login(process.env.TOKEN);// This logs sandfalsefalsesandfalsetrue// but should log (and logs on 13.1.0 and lower) sandfalsefalsesandtruetrue
Package version
13.6.0 but any vesion past 13.2.0 works
Node.js version
v16.13.1
Operating system
Arch Linux
Priority this issue should have
Medium (should be fixed soon)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMessages, GuildMessageReactions
I have tested this issue on a development release
No. Something's changed with intents and I can't be bothered to figure it out.
The text was updated successfully, but these errors were encountered:
Which package is this bug report for?
discord.js
Issue description
Reacting to a message then checking messageReaction.me no longer works. This regression appears to have happened on discord.js v13.2.0.
Code sample
Package version
13.6.0 but any vesion past 13.2.0 works
Node.js version
v16.13.1
Operating system
Arch Linux
Priority this issue should have
Medium (should be fixed soon)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMessages, GuildMessageReactions
I have tested this issue on a development release
No. Something's changed with intents and I can't be bothered to figure it out.
The text was updated successfully, but these errors were encountered: