Skip to content

Conversation

@advaith1
Copy link
Contributor

The field and CDN endpoint for avatar decorations have changed

@Lulalaby
Copy link
Contributor

Tables my beloved!

@Lulalaby
Copy link
Contributor

We changed it to this table formatting in 9078f03 🙈

"public_flags": 64
"public_flags": 64,
"avatar_decoration_data": {
"sku_id": "1144058844004233369",
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@shaydewael shaydewael left a 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

@shaydewael shaydewael self-assigned this May 14, 2024
@shaydewael shaydewael merged commit c583bb1 into discord:main May 14, 2024
shaydewael added a commit to Jupith/discord-api-docs that referenced this pull request May 14, 2024
* 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]>
DonovanDMC added a commit to OceanicJS/Oceanic that referenced this pull request Jun 14, 2024
EmmmaTech added a commit to nextcord/nextcord that referenced this pull request Jun 15, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants