$mentionType
$mentionType will return the type of the mention.
Usage
$mentionType[content]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| content | string | The mention whose mention type will be returned. | true |
Mention Types
| Type | Description |
|---|---|
| everyone | @everyone and @here mentions. |
| users | All user mentions. |
| roles | All role mentions. |
| all | Everything listed above. |
Example(s)
This will return users as you’re an user:
1client.command({2 name: "mentionType",3 code: `4 $mentionType[<@$authorID>]5 `6});