Class InviteRole

Represents a partial role for an invite.

Hierarchy (view full)

Constructors

Properties

color: number

The color of this role.

Deprecated

Use Role#colors.primaryColor instead.

colors: RoleColors

The colors of this role.

guildID: string

The id of the guild this role is in.

icon: null | string

The icon has of this role.

id: string
name: string

The name of this role.

permissions: Permission

The permissions of this role.

position: number

The position of this role.

unicodeEmoji: null | string

The unicode emoji of this role.

Accessors

Methods