Role: A Class which represents a role object (exists in guilds...

Description Usage Slots

View source: R/model_role.r

Description

A Class which represents a role object (exists in guilds only)

Usage

1
Role(data, guild)

Slots

id

role id

name

role name

color

integer representation of hexadecimal color code

hoist

if this role is pinned in the user listing

position

position of this role

permissions

permissions bit set

managed

whether this role is managed by an integration

mentionable

whether this role is mentionable

guild_id

The guild this role belongs to


TheOnlyArtz/Pirate documentation built on Oct. 31, 2019, 12:12 a.m.