Skip to content

$isHoisted

$isHoisted will check if a specific role is hoisted.

Usage

$isHoisted[roleID;guildID?]

Parameters

FieldTypeDescriptionRequired
roleIDnumberID of the role you want to check if it’s hoisted or not.true
guildID?numberThe 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:

1
client.command({
2
name: "isHoisted",
3
code: `
4
$isHoisted[$findRole[Owner];$guildID]
5
`
6
});