!MercuryXYZ
DIAdiscord.js - Imagine an app
•Created by !MercuryXYZ on 5/4/2024 in #djs-questions
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'
}
3 replies