Classes
Yor.ts | classes/Role
Class: Role
Hierarchy
-
↳
Role
Table of contents
Constructors
Properties
Constructors
constructor
• new Role(client
, data
): Role
Constructor function for the APIRole class.
Parameters
Name | Type | Description |
---|---|---|
client | YorClient | The YorClient instance. |
data | APIRole | The APIRole data. |
Returns
Overrides
Defined in
Properties
API
• Private
API: GuildsAPI
Defined in
client
• client: YorClient
Inherited from
Defined in
raw
• raw: APIRole
Defined in
Was this page helpful?