Class Role

Represents a role in a guild.

Hierarchy

Accessors

Constructors

Methods

Properties

color: number

The color of this role.

guildID: string

The id of the guild this role is in.

hoist: boolean

If this role is hoisted.

icon: null | string

The icon has of this role.

id: string
managed: boolean

If this role is managed by an integration.

mentionable: boolean

If this role can be mentioned by anybody.

name: string

The name of this role.

permissions: Permission

The permissions of this role.

position: number

The position of this role.

tags: RoleTags

The tags of this role.

unicodeEmoji: null | string

The unicode emoji of this role.