Skip to content

$disableMentionType

$disableMentionType will disable a specific mention type.

Usage

$disableMentionType[type]

Parameters

FieldTypeDescriptionRequired
typestringType of mention you want to disable.true

Available Types

TypeDescription
everyone@everyone and @here mentions.
usersAll user mentions.
rolesAll role mentions.
allRoles, users and any other mention.

Example(s)

This will stop the bot from mentioning you:

1
client.command({
2
name: "mention",
3
code: `
4
<@$authorID>
5
$disableMentionType[users]
6
`
7
});

This will stop the bot from mentioning anyone or anything:

1
client.command({
2
name: "mention",
3
code: `
4
<@$authorID>
5
$disableMentionType[all]
6
`
7
});