Problem
Move the bot role above roles it needs to manage.
Start at Discord Server Settings > Roles.
Common causes
- The bot's highest role is below the role it must assign, remove, or moderate.
- The target role is managed by an integration.
- The bot lacks Manage Roles or the feature-specific moderation permission.
Checks
- 1
Compare the bot's highest role with the target role.
- 2
Check whether Discord marks the target as managed.
- 3
Read the feature's permission error and Bot Connection diagnostic.
Fix
- 1
Move the bot role above every manageable target role.
- 2
Do not select managed roles that Discord prevents bots from editing.
- 3
Grant Manage Roles where the feature requires it and test with a safe role.