diff --git a/docs/reference.mdx b/docs/reference.mdx index 502bb17e3b..60280a64ee 100644 --- a/docs/reference.mdx +++ b/docs/reference.mdx @@ -352,6 +352,7 @@ Discord uses ids and hashes to render images in the client. These hashes can be | Role Icon | role-icons/[role_id](/docs/topics/permissions#role-object)/[role_icon](/docs/topics/permissions#role-object).png | PNG, JPEG, WebP | | Guild Scheduled Event Cover | guild-events/[scheduled_event_id](/docs/resources/guild-scheduled-event#guild-scheduled-event-object)/[scheduled_event_cover_image](/docs/resources/guild-scheduled-event#guild-scheduled-event-object).png | PNG, JPEG, WebP | | Guild Member Banner | guilds/[guild_id](/docs/resources/guild#guild-object)/users/[user_id](/docs/resources/user#user-object)/banners/[member_banner](/docs/resources/guild#guild-member-object).png \* | PNG, JPEG, WebP, GIF | +| Nameplate Asset | assets/collectibles/[asset](/docs/resources/user#nameplate-nameplate-structure)/asset.webm | WebM | \* In the case of endpoints that support GIFs, the hash will begin with `a_` if it is available in GIF format. (example: `a_1269e74af4df7417b13759eae50c83dc`) diff --git a/docs/resources/user.mdx b/docs/resources/user.mdx index f7eff1c1f0..2fd800000a 100644 --- a/docs/resources/user.mdx +++ b/docs/resources/user.mdx @@ -47,6 +47,7 @@ There are other rules and restrictions not shared here for the sake of spam and | premium_type? | integer | the [type of Nitro subscription](/docs/resources/user#user-object-premium-types) on a user's account | identify | | public_flags? | integer | the public [flags](/docs/resources/user#user-object-user-flags) on a user's account | identify | | avatar_decoration_data? | ?[avatar decoration data](/docs/resources/user#avatar-decoration-data-object) object | data for the user's avatar decoration | identify | +| collectibles? | ?[collectibles](/docs/resources/user#collectibles) object | data for the user's collectibles | identify ###### Example User @@ -183,6 +184,31 @@ The role connection object that an application has attached to a user. | platform_username | ?string | the username on the platform a bot has connected (max 100 characters) | | metadata | object | object mapping [application role connection metadata](/docs/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected | +### Collectibles + +The collectibles the user has. + +###### Collectible Structure + +| Field | Type | Description | +|------------|--------|------------------------------------------------------------------------------| +| nameplate? | object | object mapping of [nameplate data](/docs/resources/user#nameplate-nameplate-structure) | + + +### Nameplate + +The nameplate the user currently has. + +###### Nameplate Structure + +| Field | Type | Description | +|---------|-----------|-----------------------------------------------------------------| +| sku_id | snowflake | id of the nameplate's decoration SKU | +| asset | string | path to the [nameplate asset](/docs/reference#image-formatting) | +| label | string | the label of this nameplate | +| palette | string | the name of the most dominant colour in this nameplate | + + ## Get Current User /users/@me