Yor.ts home page
Search...
⌘K
Support
Search...
Navigation
Classes
Yor.ts | classes/Role
Documentation
Community
GitHub
Guide
Blog
Docs
Interfaces
Classes
AutocompleteCommandContext
Base
Channel
CommandContext
ComponentContext
ContextMenuCommandInteraction
Emoji
Guild
Member
MessageContextMenuCommandInteraction
ModalContext
Role
Sticker
User
UserContextMenuCommandInteraction
Webhook
WebhookClient
YorClient
YorClientAPI
YorClientError
YorInteractionComponent
YorInteractionModal
YorMessageContextMenuCommand
YorSlashCommand
YorUserContextMenuCommand
Yor.ts
Guide
Cloudflare Workers
On this page
Class: Role
Hierarchy
Table of contents
Constructors
Properties
Constructors
constructor
Parameters
Returns
Overrides
Defined in
Properties
API
Defined in
client
Inherited from
Defined in
raw
Defined in
Classes
Yor.ts | classes/Role
yor.ts
/
Exports
/ Role
Class: Role
Hierarchy
Base
↳
Role
Table of contents
Constructors
constructor
Properties
API
client
raw
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
Role
Overrides
Base
.
constructor
Defined in
src/structures/Role.ts:17
Properties
API
•
Private
API
:
GuildsAPI
Defined in
src/structures/Role.ts:7
client
•
client
:
YorClient
Inherited from
Base
.
client
Defined in
src/structures/Base.ts:4
raw
•
raw
:
APIRole
Defined in
src/structures/Role.ts:9
Was this page helpful?
Yes
No
Suggest edits
Raise issue
ModalContext
Sticker
Assistant
Responses are generated using AI and may contain mistakes.