Issue catching unreact event after bot has restarted
When I react to a message then restart the bot then unreact it doesnt catch the unreaction event.
Function: https://codeshare.io/pAe73x
if I log
reactionText
it logs my reaction successfully after the restart. If I then wait for
5 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!then unreact, the following function doesnt catch it:
However if I unreact then re-react then unreact again, the above function does catch the 2nd unreaction.
npm list discord.js
: [email protected]
node -v
: node: v22.7.0Didnt see your message till now, but thanks, I realized that just before I saw your message, but it still doesnt work.
I have done like so:
it says none of them are partial, but they have hundreds of reactions??
please ping btw otherwise I wont see it
nvm I found the cause and a workaround, I explained it in my comment to https://github.com/discordjs/discord.js/issues/10487, it was closed as invalid but after further debugging I found that the problem was at least not what it was closed as
GitHub
Issues · discordjs/discord.js
A powerful JavaScript library for interacting with the Discord API - Issues · discordjs/discord.js