Missing Permissions error

A quick question: Can my bot change my nickname as a server owner? I have already given my bot all the rights and set it to very high roles in the server settings. The error remains the same DiscordAPIError[50013]: Missing Permissions at handleErrors (C:\Users\phili\Desktop\typescript-learn-workspace\radio-support-bot\node_modules@discordjs\rest\dist\index.js:722:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SequentialHandler.runRequest (C:\Users\phili\Desktop\typescript-learn-workspace\radio-support-bot\node_modules@discordjs\rest\dist\index.js:1120:23) at async SequentialHandler.queueRequest (C:\Users\phili\Desktop\typescript-learn-workspace\radio-support-bot\node_modules@discordjs\rest\dist\index.js:953:14) at async _REST.request (C:\Users\phili\Desktop\typescript-learn-workspace\radio-support-bot\node_modules@discordjs\rest\dist\index.js:1266:22) at async GuildMemberManager.edit (C:\Users\phili\Desktop\typescript-learn-workspace\radio-support-bot\node_modules\discord.js\src\managers\GuildMemberManager.js:381:15) { requestBody: { files: undefined, json: { nick: '[1] mercuryxyz' } }, rawError: { message: 'Missing Permissions', code: 50013 }, code: 50013, status: 403, method: 'PATCH', url: 'https://discord.com/ap:white_check_mark: i/v10/guilds/719142640133603358/members/430641918804885505' }
2 Replies
d.js toolkit
d.js toolkit7mo 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
ItaChi
ItaChi7mo ago
Bots can't moderate server owner
Want results from more Discord servers?
Add your server