Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Role

Represents a role in a guild

Hierarchy

Index

Constructors

constructor

Properties

bot

bot: Bot

The Bot operating this structure

color

color: number

Number representation of hexadecimal color code

guild

guild: Guild

The Guild associated to this structure

id

The role's ID

listedSeparately

listedSeparately: boolean

Whether this role is listed separately on the guild members list

managed

managed: boolean

Whether this role is managed by an integration

mentionable

mentionable: boolean

Whether this role is mentionable

name

name: string

The role name

permissions

permissions: PermissionFlags

The permissions of the role

position

position: number

The position of this role

Methods

clone

  • clone(): this

modify

update

Generated using TypeDoc