Bot changes nickname, and after the nickname reset itself.

Hi guys, I have a problem with nicknames. I have a bot that after a check, it adds a role and change the nickname of the user. It works, it changes the nickname. But after, like a second, the nickname resets. In the Server Audit Log, there is the event of the nickname changed, but no events of other bots/user resetting it. It's a Discord problem, or I need to update to a new version of Discordjs? (The bot have one of the highest role, with all permissions and administrator)
2 Replies
d.js toolkit
d.js toolkit16mo 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!
Shadw
ShadwOP16mo ago
v14, bot-template v14.0.0 I probaly fixed it, putting a timeout of 5 seconds and resetting the nickname Ye, sorry 14.8.0 ok, thanks
Want results from more Discord servers?
Add your server