RoleEditOptions

interface RoleEditOptions

Properties that can be changed on a 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.

icon?

string

Base64-encoded role icon.

mentionable?

boolean

Whether members can mention the role.

name?

string

Role name.

permissions?

bigint

Role permission bitfield.

reason?

string

Audit-log reason for the change.

unicodeEmoji?

string

Unicode emoji used as the role icon.