guildMemberUpdate
Issue: anytime someone's roles is updated or they change there nickname it double/triple posts to my logs channel and i cant figure out why
Node: 18.16.0
Discord.js: 14.13.0
Code: https://gist.github.com/SkullGaming31/0cad0c256b3cbf6c826785d81ca1d18f
2 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!i have a dev and a production bot, but they both use different tokens an all
i put a console log inside the guildMemberUpdate and the console or shows the log once but it posted to the logs twise
i removed a role from myself and the guildMemberEvent is the console output
reset the token just to make sure and its the same issue.
just a note, the production version of the bot is not in the test guild
Registering commands to 959693430227894292
Watching 1 Discord Severs
Development Bot TS#0959 is online
MongoDB connection established successfully
guildMemberEvent
all other logs work perfectly fine besides for role create and guildMemberUpdate, they only send the 1 embed to the channel