The users are being granted their game rank, but not being given the discord role. This worked previously but stopped working.
When a user tries to auth the following appears in console:
[Discord Extension] [Error]: Discord API has returned error Discord Code: 50001 Discord Error: Missing Access Request: [DELETE] https://discord.com/api/v9/guilds/redacted/members/redacted/roles/redacted(Response Code: Forbidden) Content-Type: application/json Discord Errors: Request Body: Contents is null
User granted role in game but not in discordSolved
Tried an alternative bot and also get the below error with that
[Discord Extension] [Error]: Discord API has returned error Discord Code: 50013 Discord Error: Missing Permissions Request: [PUT] https://discord.com/api/v9/guilds/-/members/-/roles/-(Response Code: Forbidden) Content-Type: application/json
Discord Errors:
Request Body:
Contents is null
Merged post
Solved: bot was not listed higher than the role it was trying to give.
Locked automatically