$userBadges
$userBadges
will return the given users’s badges.
Usage
$userBadges[userId?;sep?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
userId? | number | The ID of the user you want the badges of. | false |
sep? | string | Separator to split multiple badges from each other “ (default) | false |
Example(s)
This will return your Discord Badges separated with a comma:
1client.command({2 name: "userBadges",3 code: `4 $userBadges[$authorID;, ]5 `6});