Role
Class
Methods
getEveryone
Promise<Discord.Role>
Parameter | Type | Description |
---|---|---|
guild | Discord.Guild | The Guild where the Role should be. Optional: ✕ |
getRoleByName
Promise<Discord.Role>
Parameter | Type | Description |
---|---|---|
name | string | The name of the Role. Optional: ✕ |
guild | Discord.Guild | The Guild where the Role should be. Optional: ✕ |
getRoleById
Promise<Discord.Role>
Parameter | Type | Description |
---|---|---|
id | string | The id of the Role. Optional: ✕ |
guild | Discord.Guild | The Guild where the Role should be. Optional: ✕ |
Last updated