Spurious messageUpdate
I just observed a messageUpdate event emitted on a message from 2018 that doesn't show as edited. What can cause this other than an edit? There are no embeds to the message so it shouldn't be embed related. Can this event fire when there is no change?
8 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 OPare you sure its a message from 2018 that was emitted with the event?
could you please provide your version number and client options
I am sure, I was logging the message the even fired on. I'm on 14.14.1 with client
well you have the message partial so that would explain why you received that message event
no idea why it would emit though if there were no changes
Indeed 🙂
I was surprised to see it
are there any links in it? was it pinned at one point and unpinned?
the event emits if the link embed for it was cleared
No links but pins are a good thought
Yep looking back through the logs that was it 🙂
Thanks for the help!
wooo love pinned messages, and no problem