Skip to content

$userRolesCount

$userRolesCount will return a user’s role count.

Usage

$userRolesCount[userID?;guildID?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe user ID.false
guildID?numberThe guild ID.false

Example(s)

This will return the amount of roles you have assigned:

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