$isMentionable
$isMentionable
check if a given role is mentionable.
Usage
$isMentionable[roleID;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | The role ID to check if it’s mentionable or not. | true |
guildID? | number | ID of the guild where the role is present in. | false |
Example(s)
This will check if a role with the name Owner
is mentionable and returns either true
or false
:
1client.command({2 name: "isMentionable",3 code: `4 $isMentionable[$findRole[Owner];$guildID]5 `6});