$guildRoles
$guildRoles
will return all roles of a specific guild.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
type? | string | The option on how to return the roles 1. name (default) 2. id 3. mention | false |
sep? | string | Separator to separate multiple returned values. | false |
removeManagedRoles? | boolean | Remove Managed Roles from the result. | false |
fetch? | boolean | Fetch all roles of the guild. | false |
Example(s)
This will return all roles of your guild: