PartialRoleData
typedef · Source
Partial data for a Role. Type: Object
Properties
id
id: Snowflake | number
The role's id, used to set channel overrides, this is a placeholder and will be replaced by the API after consumption
name
name: string
The name of the role
color
color: ColorResolvable
The color of the role, either a hex string or a base 10 number
hoist
hoist: boolean
Whether or not the role should be hoisted
position
position: number
The position of the role
permissions
permissions: PermissionResolvable
The permissions of the role
mentionable
mentionable: boolean
Whether or not the role should be mentionable