$isRoleManaged
$isRoleManaged will check if a certain role is managed by Discord.
Usage
$isRoleManaged[roleID;guildID?]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:
1client.command({2 name: "isRoleManaged",3 code: `4 $isRoleManaged[$findRole[Server Booster];$guildID]5 `6});