Skip to content

Commit 6faeb15

Browse files
committed
Update badge path and add null identity_enabled explainer.
1 parent 16d23a6 commit 6faeb15

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Discord uses ids and hashes to render images in the client. These hashes can be
353353
| Role Icon | role-icons/[role_id](/docs/topics/permissions#role-object)/[role_icon](/docs/topics/permissions#role-object).png | PNG, JPEG, WebP |
354354
| 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 |
355355
| 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 |
356-
| Server Tag Badge | clan-badges/[guild_id](/docs/resources/guild#guild-object)/[badge_hash](/docs/resources/user#user-object-user-primary-guild).png \* | PNG, JPEG, WebP |
356+
| Server Tag Badge | guild-tag-badges/[guild_id](/docs/resources/guild#guild-object)/[badge_hash](/docs/resources/user#user-object-user-primary-guild).png | PNG, JPEG, WebP |
357357

358358
\* In the case of endpoints that support GIFs, the hash will begin with `a_` if it is available in GIF format. These images can also be retrieved as animated WebP using the `?animated=true` querystring parameter. (example: `a_1269e74af4df7417b13759eae50c83dc`)
359359

docs/resources/user.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ Premium types denote the level of premium a user has. Visit the [Nitro](https://
119119

120120
###### User Primary Guild
121121

122-
| Field | Type | Description |
123-
|-------------------|------------|---------------------------------------------------------------|
124-
| identity_guild_id | ?snowflake | the id of the user's primary guild |
125-
| identity_enabled | ?boolean | whether the user is displaying the primary guild's server tag |
126-
| tag | ?string | the text of the user's server tag. Limited to 4 characters |
127-
| badge | ?string | the [server tag badge hash](/docs/reference#image-formatting) |
122+
| Field | Type | Description |
123+
|-------------------|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
124+
| identity_guild_id | ?snowflake | the id of the user's primary guild |
125+
| identity_enabled | ?boolean | whether the user is displaying the primary guild's server tag. This can be `null` if the user has never adopted an identity or if the system clears the identity, e.g. because the server no longer supports tags. |
126+
| tag | ?string | the text of the user's server tag. Limited to 4 characters |
127+
| badge | ?string | the [server tag badge hash](/docs/reference#image-formatting) |
128128

129129
### Avatar Decoration Data Object
130130

0 commit comments

Comments
 (0)