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

NameTypeDescription
color?numberRole color as 24-bit RGB.
hoist?booleanWhether the role is displayed separately in the member list.
hoistPosition?number | nullHoisted position (visual separator group).
mentionable?booleanWhether the role can be @mentioned.
name?stringRole name.
permissions?string | PermissionResolvablePermissions bitfield string or PermissionResolvable.