$userHoistedRole
$userHoistedRole
will return the user’s highest role.
Usage
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: