$isMentioned
$isMentioned
checks if the query contains a mention.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
query | string | Where you want to check if a user/role/channel was mentioned. | true |
Example(s)
This will return true
as you were mentioned within the message: