Skip to content

$getMentions

$getMentions will return all mentions of a specific type.

Usage

$getMentions[type?;separator?]

Parameters

FieldTypeDescriptionRequired
typestringThe type of mention.
1. role
2. users
false
separatorstringThe separator of the mentions, default = ”, “false

Example(s)

This will return all user mentions:

1
client.command({
2
name: "getMentions",
3
code: `
4
$getMentions[users;, ]
5
`
6
});