Missing permission...

I gave all permission and it's even on the top of roles hierarchy... The text is given below: Stack Trace
DiscordAPIError[50013]: Missing Permissions
at handleErrors (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/handlers/Shared.ts:148:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at SequentialHandler.runRequest (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:417:20)
at SequentialHandler.queueRequest (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:169:11)
at _REST.request (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/REST.ts:210:20)
at Module.default (file:///root/Ayako/packages/Bot/dist/Commands/SlashCommands/src/Commands/SlashCommands/afk.ts:60:3)
DiscordAPIError[50013]: Missing Permissions
at handleErrors (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/handlers/Shared.ts:148:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at SequentialHandler.runRequest (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:417:20)
at SequentialHandler.queueRequest (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:169:11)
at _REST.request (/root/Ayako/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/rest/src/lib/REST.ts:210:20)
at Module.default (file:///root/Ayako/packages/Bot/dist/Commands/SlashCommands/src/Commands/SlashCommands/afk.ts:60:3)
Solution:
Hi there! This Error is a little misleading, but it's basically saying that Ayako can't change a Users Nickname when they used the AFK Command. Considering you gave her all Permissions only the Owner can cause this Error, as, no matter the Permissions or Role-Hierarchy, the Owners Nickname can only be changed by themselves...
Jump to solution
3 Replies
Solution
Lolo
Lolo6mo ago
Hi there! This Error is a little misleading, but it's basically saying that Ayako can't change a Users Nickname when they used the AFK Command. Considering you gave her all Permissions only the Owner can cause this Error, as, no matter the Permissions or Role-Hierarchy, the Owners Nickname can only be changed by themselves
Venom ⛥
Venom ⛥OP6mo ago
Ok Thanks for the support
Lolo
Lolo6mo ago
I'll see if I can have her hide this Error
Want results from more Discord servers?
Add your server