Published announcement channel messages fire messageEdit event (v13)
Hai yall,
I'm still migrating my bot to v14 but ive noticed my v13 bot is logging published announcements as edited messages for some reason, has anyone else encountered this issue or is it just the way i wrote it?
I'm happy to send my code if necessary :)
7 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 OPProbably because the crossposted flag is added to the message, where it wasn't present before
yea i had a feeling its something to do with the api adding on to the message but it also fires when the channel is marked to auto publish everything
Auto or not is still the same edit
oki is there anyway i can prevent it from firing or should i just deal with it? :)
Deal with it
You cant stop Discord from firing messageUpdate events when message updates happen
right its messageUpdate not messageEdit lol
but thank you!