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
d.js toolkit
d.js toolkit10mo ago
- 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!
Kowareta
KowaretaOP10mo ago
this is how it should work only one embed
No description
Kowareta
KowaretaOP10mo ago
and the error
Kowareta
KowaretaOP10mo ago
No description
No description
Kowareta
KowaretaOP10mo ago
and no one sended the message its all past message update event its only happning to my message update event dk why
Kowareta
KowaretaOP10mo ago
first event that got resended
No description
Kowareta
KowaretaOP10mo ago
Collection(9) [Map] {
'guildMemberAdd' => [Function: execute],
'guildMemberRemove' => [Function: execute],
'guildMemberUpdate' => [Function: execute],
'interactionCreate' => [Function: execute],
'messageCreate' => [Function: execute],
'messageUpdate' => [Function: execute],
'messageDelete' => [Function: execute],
'presenceUpdate' => [Function: execute],
'voiceStateUpdate' => [Function: execute]
}
Collection(9) [Map] {
'guildMemberAdd' => [Function: execute],
'guildMemberRemove' => [Function: execute],
'guildMemberUpdate' => [Function: execute],
'interactionCreate' => [Function: execute],
'messageCreate' => [Function: execute],
'messageUpdate' => [Function: execute],
'messageDelete' => [Function: execute],
'presenceUpdate' => [Function: execute],
'voiceStateUpdate' => [Function: execute]
}
my client.event and only 1 instance is running
Kowareta
KowaretaOP10mo ago
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...
Bloonatics
Bloonatics10mo ago
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
Kowareta
KowaretaOP10mo ago
thank you so much :peepoLoveMonbrey:
Want results from more Discord servers?
Add your server