@@ -76,6 +76,7 @@ type User struct {
7676 System bool `json:"system"`
7777 PublicFlags UserFlags `json:"public_flags"`
7878 AvatarDecorationData * AvatarDecorationData `json:"avatar_decoration_data"`
79+ Collectibles * Collectibles `json:"collectibles"`
7980}
8081
8182// String returns a mention of the user
@@ -201,3 +202,30 @@ type AvatarDecorationData struct {
201202 Asset string `json:"asset"`
202203 SkuID snowflake.ID `json:"sku_id"`
203204}
205+
206+ type Collectibles struct {
207+ Nameplate * Nameplate `json:"nameplate"`
208+ }
209+
210+ type Nameplate struct {
211+ SkuID snowflake.ID `json:"sku_id"`
212+ Asset string `json:"asset"`
213+ Label string `json:"label"`
214+ Palette NameplatePalette `json:"palette"`
215+ }
216+
217+ type NameplatePalette string
218+
219+ const (
220+ NameplatePaletteBerry NameplatePalette = "berry"
221+ NameplatePaletteBubbleGum NameplatePalette = "bubble_gum"
222+ NameplatePaletteClover NameplatePalette = "clover"
223+ NameplatePaletteCobalt NameplatePalette = "cobalt"
224+ NameplatePaletteCrimson NameplatePalette = "crimson"
225+ NameplatePaletteForest NameplatePalette = "forest"
226+ NameplatePaletteLemon NameplatePalette = "lemon"
227+ NameplatePaletteSky NameplatePalette = "sky"
228+ NameplatePaletteTeal NameplatePalette = "teal"
229+ NameplatePaletteViolet NameplatePalette = "violet"
230+ NameplatePaletteWhite NameplatePalette = "white"
231+ )
0 commit comments