Skip to content

Commit 7379fc0

Browse files
committed
clarify migrated/legacy
1 parent c75d7ef commit 7379fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ Discord uses ids and hashes to render images in the client. These hashes can be
335335

336336
\* In the case of endpoints that support GIFs, the hash will begin with `a_` if it is available in GIF format. (example: `a_1269e74af4df7417b13759eae50c83dc`)
337337

338-
\*\* In the case of the Default User Avatar endpoint, the value for `index` in the path should be `(user_id >> 22) % 6`
338+
\*\* In the case of the Default User Avatar endpoint, the value for `index` depends on whether the user is [migrated to the new username system](#DOCS_CHANGELOG/unique-usernames-on-discord). For users on the new username system, `index` will be `(user_id >> 22) % 6`. For users on the *legacy* username system, `index` will be `(discriminator >> 2) % 5`.
339339

340340
\*\*\* In the case of the Default User Avatar and Sticker endpoints, the size of images returned is constant with the "size" querystring parameter being ignored.
341341

0 commit comments

Comments
 (0)