Skip to content

$isMentionable

$isMentionable check if a given role is mentionable.

Usage

$isMentionable[roleID;guildID?]

Parameters

FieldTypeDescriptionRequired
roleIDnumberThe role ID to check if it’s mentionable or not.true
guildID?numberID 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:

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