Issue reading list of users who have reacted to a message
Afternoon,
I'm creating a voting system in one of my servers that has users choose one of eight options. I am currently attempting to get the bot to reliably read the list of users that have reacted to each reaction, while also ignoring its own reactions.
Related code
The line in particular is the third from bottom, which is supposed to take all reactions that are greater than 1 (in order to ignore the bot's) and list the users associated with them. When I do let it include itself, it lists the bot's user ID correctly, but it otherwise returns this:
I have tried looking up reaction guides on youtube, documentation, and bickering with chatGPT, to no avail. I have all intents enabled so it's not an intent issue
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPNevermind, it has all of a sudden decided to start working correctly even though I didn't change anything in the code