RoleCreateOptions

interface RoleCreateOptions

Options for creating a guild role.

exported from lib.weeble.d

Properties

Property

Type

Description

color?

number

Role color as an RGB integer.

hoist?

boolean

Whether the role is displayed separately in the member list.

mentionable?

boolean

Whether members can mention the role.

name

string

Role name.

permissions?

bigint

Initial permission bitfield.

reason?

string

Audit-log reason for creating the role.