Skip to main content
Version: 0.37.37

APIRole

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Index

Properties

color

color: number

Integer representation of hexadecimal color code

hoist

hoist: boolean

If this role is pinned in the user listing

optionalicon

icon?: null | string

The role icon hash

id

id: string

Role id

managed

managed: boolean

Whether this role is managed by an integration

mentionable

mentionable: boolean

Whether this role is mentionable

name

name: string

Role name

permissions

permissions: string

position

position: number

Position of this role

optionaltags

The tags this role has

optionalunicode_emoji

unicode_emoji?: null | string

The role unicode emoji as a standard emoji