Skip to content

$mentionedUsersCount

$mentionedUsersCount will return the amount of user mentions within a message.

Usage

$mentionedUsersCount

Example(s)

This will return the amount of user mentions in the given text:

1
client.command({
2
name: "mentionedUsersCount",
3
code: `
4
Amount of user mentions: $mentionedUsersCount
5
`
6
});