Interface
RoleCreateOptions
CamelCase options for creating a guild role. Serialized to snake_case wire fields before REST.
Properties
| Name | Type | Description |
|---|---|---|
| color? | number | Role color as 24-bit RGB. |
| hoist? | boolean | Whether the role is displayed separately in the member list. |
| hoistPosition? | number | null | Hoisted position (visual separator group). |
| mentionable? | boolean | Whether the role can be @mentioned. |
| name? | string | Role name. |
| permissions? | string | PermissionResolvable | Permissions bitfield string or PermissionResolvable. |
| position? | number | Sort position in the role list. |
| unicodeEmoji? | string | null | Unicode emoji for the role. |