Permission errorSolved

[Discord Extension] [Error]: Discord API has returned error Discord Code: 50013 Discord Error: Missing Permissions Request: [PATCH] https://discord.com/api/v9/guilds/1014535497575571537/members/838109341327425587 (Response Code: Forbidden) Content-Type: application/json Discord Errors: slprs 1kb/s in, 158kb/s out Request Body: { "nick": "LongBob"

it says discord errors:  slprs

i dont have a group called slprs ( sleepers?)

 

any ideas?   i know rustcord works, as does discord chat and discord auth

any help would be apprieciated

This error means your bot doesn't have permission to manage nicknames on your Discord server. Grant the bot permission and it will go away.

thanks for the reply,  is the permission part in a json file?   as i have given permissions on all my bots to manage nicknames on the bot development page on discord?

MJSU

No, you need to go to the bot role in your discord server and give that role the mange members permission: https://support.discord.com/hc/en-us/articles/214836687-Role-Management-101

I cant seem to get it sorted lol

BUT.....  the link you sent above may have an explanation,

it seems its only me that the error comes up on,    the bots are set as pretty much admin without the admin role,

and the link suggests  " Even if users have ban/kick/nickname permissions, they cannot ban / kick / change nicknames of anyone with the same role or a role higher than theirs. "

Could this be why i see this error? as both the two names the error is on are admin roles in the discord server?

am i trying to fix something that isnt actually broken? lol

87wbBtACDrdkvrX.jpg PorkChopExpress

I cant seem to get it sorted lol

BUT.....  the link you sent above may have an explanation,

it seems its only me that the error comes up on,    the bots are set as pretty much admin without the admin role,

and the link suggests  " Even if users have ban/kick/nickname permissions, they cannot ban / kick / change nicknames of anyone with the same role or a role higher than theirs. "

Could this be why i see this error? as both the two names the error is on are admin roles in the discord server?

am i trying to fix something that isnt actually broken? lol

Yes, that is correct, the bot role needs to be higher (placed above other roles) than the roles of members it's trying to modify. The bot can also not edit the server owner nickname since they are always higher than the bot role.

hahahah   thats why its coming up then.

i was racking my brains trying to figure it out lol  both my server owner nicknames was giving the error and no one elses lol

Thank you so much for your help and the link.

i shall mark this as solved lol

Locked automatically