Replies: 2 comments 1 reply
-
Seems like you don't know this exists: |
Beta Was this translation helpful? Give feedback.
1 reply
-
I would say that ReactionUserManager#fetch() system through the current version of discord.js should work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which package is this bug report for?
discord.js
Issue description
User choose some reaction in the message, so the reaction records the user's info, and we could use
messageReaction.users.remove(user.id)
method to remove this user(who has selected the reaction) by id in the reaction that mean user unselect the reaction.The issue it that if I reboot bot program , The program could fetch message and reactions belong to message at 'messageReactionAdd' event handler. But the reaction don't have those user who has selected it before reboot bot program.
I see
MessageReaction.users.cache.get(user.id)
method don't give me the user as expected instead of 'undefine' value.Code sample
Package version
^14.6.0"
Node.js version
v18.12.0
Operating system
macos catalina 10.15.7
Priority this issue should have
High (immediate attention needed)
Which partials do you have configured?
User, Channel, Message, Reaction
Which gateway intents are you subscribing to?
Guilds, GuildEmojisAndStickers, GuildMessages, GuildMessageReactions, DirectMessages, DirectMessageReactions, MessageContent
I have tested this issue on a development release
No response
Beta Was this translation helpful? Give feedback.
All reactions