Interface CreateRoleOptions

Hierarchy

Properties

color?: number

The color of the role.

hoist?: boolean

If the role should be hoisted.

icon?: null | string | Buffer

The icon for the role (buffer, or full data url). Requires the ROLE_ICONS feature.

mentionable?: boolean

If the role should be mentionable.

name?: string

The name of the role.

permissions?: string

The permissions of the role.

reason?: string

The reason for creating the role.

unicodeEmoji?: null | string

The unicode emoji for the role. Requires the ROLE_ICONS feature.