message update issue
i have a bot which listen to message update event and do calculation based on the message and save to database then send to same channel
but idk its working fine
but its sending old embeds message and updated database and there is no error in my console i checked my code and no errors
some images below shows the issue
10 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!this is how it should work only one embed
and the error
and no one sended the message its all past message update event
its only happning to my message update event dk why
first event that got resended
my client.event
and only 1 instance is running
https://github.com/discord/discord-api-docs/issues/6679
i found this is the cause same?
GitHub
Redundant Message Update Events · Issue #6679 · discord/discord-api...
Description This issue has been redirected to here because that's not a discord.js issue. Redundant MESSAGE_UPDATE events are emitted in specific cases. I have found that this bug: Only affects...
This is a discord issue, not discord.js. If you're looking forward to getting a temporary workaround for the issue, you probably want to take a look at this to see if it works well for you.
https://github.com/discordjs/discord.js/issues/10153#issuecomment-1986379529
thank you so much :peepoLoveMonbrey: