Skip to content

$userBadges

$userBadges will return the given users’s badges.

Usage

$userBadges[userId?;sep?]

Parameters

FieldTypeDescriptionRequired
userId?numberThe ID of the user you want the badges of.false
sep?stringSeparator to split multiple badges from each other
“ (default)
false

Example(s)

This will return your Discord Badges separated with a comma:

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