Skip to content

$roleMembersCount

$roleMembersCount will return the amount of members who have a specific role.

Usage

$roleMembersCount[roleID;guildID?]

Parameters

FieldTypeDescriptionRequired
roleIDnumberThe role ID.true
guildID?numberThe guild ID.false

Example(s)

This will return the amount of users who have a specific role:

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