Skip to content

PartialRoleData

typedef · Source

Partial data for a Role. Type: Object

Properties

id

optional

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

optional

name: string

The name of the role

color

optional

color: ColorResolvable

The color of the role, either a hex string or a base 10 number

hoist

optional

hoist: boolean

Whether or not the role should be hoisted

position

optional

position: number

The position of the role

permissions

optional

permissions: PermissionResolvable

The permissions of the role

mentionable

optional

mentionable: boolean

Whether or not the role should be mentionable

Unofficial software. Not affiliated with or supported by Discord.