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
d.js toolkit
d.js toolkit3d 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! - Marked as resolved by OP
Mark
Mark3d ago
Probably because the crossposted flag is added to the message, where it wasn't present before
Kyra
KyraOP3d ago
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
monbrey
monbrey3d ago
Auto or not is still the same edit
Kyra
KyraOP3d ago
oki is there anyway i can prevent it from firing or should i just deal with it? :)
monbrey
monbrey3d ago
Deal with it You cant stop Discord from firing messageUpdate events when message updates happen
Kyra
KyraOP3d ago
right its messageUpdate not messageEdit lol but thank you!

Did you find this page helpful?