$isRoleEditable
$isRoleEditable
will check if the role is editable.
Usage
$isRoleEditable[roleID;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | ID of the role you want to check if its editable. | true |
guildID? | number | The ID of the guild where the role exists. | false |
Example(s)
This will check if a role called Owner
is editable:
1client.command({2 name: "isRoleEditable",3 code: `4 $isRoleEditable[$findRole[Owner];$guildID]5 `6});