# /roles

{% hint style="success" %}
**Available on all tiers**
{% endhint %}

Configure which Discord roles map to SecurityBot's Administrator, Moderator, and Exempt permission tiers. Use `/roles view` to see the current configuration, or assign a role with the other subcommands.

***

## Usage

| Subcommand      | Options                 | Description                                           |
| --------------- | ----------------------- | ----------------------------------------------------- |
| `view`          | None                    | Shows current role configuration (admin, mod, exempt) |
| `administrator` | `role` (Role, required) | Sets the SecurityBot administrator role               |
| `moderator`     | `role` (Role, required) | Sets the SecurityBot moderator role                   |
| `exempt`        | `role` (Role, required) | Sets the SecurityBot exempt role (bypasses filters)   |

### Example

```
/roles administrator role: @Staff
```

```
/roles view
```

***

## Validation

* You cannot assign managed roles (bot roles or integration roles).
* The bot must be higher in the role hierarchy than the role you are assigning.

***

## Permissions

**Administrator** -- All subcommands require the SecurityBot admin role, Discord ADMINISTRATOR permission, or server ownership.
