> For the complete documentation index, see [llms.txt](https://xnickydev.gitbook.io/ocavy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xnickydev.gitbook.io/ocavy/commands/moderation/+create-role.md).

# +create-role

Creates a new role

## Usage

```
+create-role <name> <color hex> <display role (yes/no)> <mentionable (yes/no)>
```

## Arguments

| Name         | Description                        | Type    | Required |
| ------------ | ---------------------------------- | ------- | -------- |
| name         | The name of the role.              | String  | Yes      |
| color hex    | The color of the role.             | Hex     | Yes      |
| display role | If the role should be displayed.   | Boolean | Yes      |
| mentionable  | If the role should be mentionable. | Boolean | Yes      |

## Examples

![](https://user-images.githubusercontent.com/111157596/236548141-889b8035-4a06-4923-8927-a876d293a3bd.png)
