Discord API has returned error Discord Code: 50013Solved

For roles, you need to make sure that the role the bot has is not lower than the role it's trying to grant. On the roles screen in discord move the bot role above all roles it's trying to grant.

perfect thank you

Locked automatically