$userHoistedRole
$userHoistedRole will return the user’s highest role.
Usage
$userHoistedRole[userID?;guildID?;option?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| userID? | number | The user ID. | false |
| guildID? | number | The guild ID. | false |
| option? | string | How the role will be returned. 1. id (default) 2. mention | false |
Example(s)
This will return the ID of your highest role:
1client.command({2 name: "userHoistedRole",3 code: `$userHoistedRole[$authorID;$guildID;id]`4});