$disableMentionType
$disableMentionType
will disable a specific mention type.
Usage
$disableMentionType[type]
Parameters
Field | Type | Description | Required |
---|---|---|---|
type | string | Type of mention you want to disable. | true |
Available Types
Type | Description |
---|---|
everyone | @everyone and @here mentions. |
users | All user mentions. |
roles | All role mentions. |
all | Roles, users and any other mention. |
Example(s)
This will stop the bot from mentioning you:
1client.command({2 name: "mention",3 code: `4<@$authorID>5$disableMentionType[users]6 `7});
This will stop the bot from mentioning anyone or anything:
1client.command({2 name: "mention",3 code: `4<@$authorID>5$disableMentionType[all]6 `7});