$mentionType
$mentionType
will return the type of the mention.
Usage
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: