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
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
Hello, I encountered an issue when I tried to listen to user reactions on messages :
A messageReactionAdd listener won't trigger if the message the reaction was added on was sent before the bot started.
discord instance cache messages that sent after bot started. you can try to fetch previous messages then it might let you see reactions for old messages.
This is how Discord.js behaves too. The raw event should still be passed though, so you should be able to do something like this (this is old discord.js code of mine, not adapted for discord.ts).
Hello, I encountered an issue when I tried to listen to user reactions on messages :
A
messageReactionAdd
listener won't trigger if the message the reaction was added on was sent before the bot started.Code where I ran my tests :
The
console.log()
is triggered on messages sent after the bot started, but not before.The text was updated successfully, but these errors were encountered: