Skip to content
fylgra Help
Menu

Basics

Discord bot can't assign a role – how to fix it

Marcus · builds Fylgra ·

In short

A bot can only assign roles that sit below its own highest role in the role list, and it needs the Manage Roles permission. In Server Settings under Roles, drag the bot's role above the role it should assign.

Open in Fylgra

Opens “Roles” on your server. You'll sign in with Discord first.

What this is about

You want a bot to give a member a role: by command, by button or when they join. But nothing happens, or the bot reports "Missing Permissions".

A role in Discord is a group you give permissions to and assign members to. Almost always, one of three Discord rules is behind it:

  1. The hierarchy. The order of the role list is the rank order. A bot can only assign roles that sit below its own highest role. Being level with it isn't enough.

  2. The permission. The bot needs Manage Roles.

  3. Managed roles. Roles Discord manages itself, like a bot's own role or the booster role, can't be assigned by hand – not even by a bot.

Administrator doesn't lift the hierarchy either.

How to do it in Discord

The steps apply to Discord on a computer and in the browser.

Drag the bot's role up

  1. Click the server name at the top left and choose Server Settings › Roles.

  2. Find the bot's role. It's usually named after the bot.

  3. Drag it above the role the bot should assign. If it assigns lots of roles, drag it right to the top.

  4. Click Save Changes.

Give the bot the permission

  1. Click the bot's role in the same list and open the Permissions tab.

  2. Turn on Manage Roles and click Save Changes.

If the bot has several roles, their permissions add up. For the hierarchy, the highest one counts.

How to tell it worked

Have the bot assign the role again. The role then shows in the member's profile. Some bots only pick up the new order after a few seconds.

Common pitfalls


With Fylgra

You don't need Fylgra for this. For its own role, though, Fylgra saves you the searching.

Notice on the Fylgra Overview naming two roles above Fylgra's role, with the Check again button

Fylgra can't move its role itself, and it can't help with other bots. The steps for Fylgra are in fylgra-rolle-nach-oben.

Not working?

Still stuck? Write to me – I'll help. Send a report or email fylgra@fylgra.com

Related articles