$getUserBadges
Returns a user's badges.
Last updated
Returns a user's badges.
Last updated
This function has two fields.
Field | Description | Type | Required |
---|---|---|---|
Nitro/paid badges generally are excluded.
The output of $getUserBadges
looks like this: DISCORD_EMPLOYEE, PARTNERED_SERVER_OWNER, HYPESQUAD_EVENTS, BUG_HUNTER_LEVEL_1, HOUSE_BRAVERY, HOUSE_BRILLIANCE, HOUSE_BALANCE, EARLY_SUPPORTER, BUG_HUNTER_LEVEL_2, VERIFIED_BOT, EARLY_VERIFIED_BOT_DEVELOPER, DISCORD_CERTIFIED_MODERATOR
Example #1
Example #2
userID
The user to get the badges for. *
Snowflake
No
separator
The separator between each badge, commas by default.
String
No
* Returns the author's badges if no userID
is provided.