Skip to content

$isRoleEditable

$isRoleEditable will check if the role is editable.

Usage

$isRoleEditable[roleID;guildID?]

Parameters

FieldTypeDescriptionRequired
roleIDnumberID of the role you want to check if its editable.true
guildID?numberThe ID of the guild where the role exists.false

Example(s)

This will check if a role called Owner is editable:

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