Role

Role

Represents a guild role

Constructor

new Role()

Source:
Properties:
Name Type Description
color Number

The color of the role

hexColor String | Number

The hexadecimal representation of the role color

id Snowflake

The id of the role

isHoisted Boolean

Whether the role is seperate from the @everyone role

isMentionable Boolean

Whether the role is mentionable

mention String

The role in mention form

name String

The name of the role

permissions Number

The permissions of the role

position Number

The position of the role