Skip to main content

APIRole

Index

Properties

color

color: number

Integer representation of hexadecimal color code

flags

flags: InPrompt

hoist

hoist: boolean

If this role is pinned in the user listing

optionalicon

icon?: null | string

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

Permission bit set

position

position: number

Position of this role

optionaltags

The tags this role has

optionalunicode_emoji

unicode_emoji?: null | string

Role unicode emoji