-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update avatar decoration docs #6464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tables my beloved! |
|
We changed it to this table formatting in 9078f03 🙈 |
| "public_flags": 64 | ||
| "public_flags": 64, | ||
| "avatar_decoration_data": { | ||
| "sku_id": "1144058844004233369", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this sku_id used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It identifies the actual decoration - sometimes they edit the image so there are different assets corresponding to the same decoration but the sku id will be the same for everyone. I think there is currently no way for bots to fetch additional information for an sku though.
shaydewael
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
annoying nit re: removing "the" before "id", but lgtm
* Update avatar decoration docs * add to example user * oh is this the standard formatting now * add guild member avatar decoration field * Update docs/resources/User.md --------- Co-authored-by: shay <[email protected]>
* Add support for avatar decorations * Better comment Co-Authored-By: Emma Terzioglu <[email protected]> * Add missing default size * Update according to new data discord/discord-api-docs#6464 * Document AvatarDecoration * Update version and remove outdated note * style: auto fixes from pre-commit hooks * Export AvatarDecoration --------- Co-authored-by: Emma Terzioglu <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The field and CDN endpoint for avatar decorations have changed