$isHoisted
$isHoisted
will check if a specific role is hoisted.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | ID of the role you want to check if it’s hoisted or not. | true |
guildID? | number | The ID of the guild where you want to check if the role is hoisted or not. | false |
Example(s)
This will check if a role called Owner
is hoisted in your server: