Interface
RoleEditOptions
CamelCase options for editing a guild role. Fluxer update accepts name, color, permissions, hoist, hoist_position, mentionable. unicodeEmoji is read-only on Role. Position changes use guild.setRolePositions.
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. |