$isRoleManaged
$isRoleManaged
will check if a certain role is managed by Discord.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | ID of the role you want to check if it’s managed by Discord or not. | true |
guildID? | number | ID of the guild where the role exists. | false |
Example(s)
This will check if a role called Server Booster
is managed by Discord and return either true
or false
: