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
Adds support for user's avatar decorations #2668
base: master
Are you sure you want to change the base?
Conversation
…oration avatar as ImageProxy
* @return The never-null SKU id of the {@link User User} decoration avatar. | ||
*/ | ||
@Nonnull | ||
public String getSkuId() |
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.
How is this useful to a bot?
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.
I'm not sure how for now, but maybe JDA will add support for SKU later on? Should I just remove that entirely?
Co-authored-by: Florian Spieß <business@minn.dev>
|
Do I use the same object present in User for adding support in Member? |
Yes, same object, but stored on the member, just like any member profile element that's also present on an user |
As |
Pull Request Etiquette
Changes
Closes Issue: NaN
Description
Adds support for the user's decoration avatar. Discord docs are outdated about the user's object, check this PR for the "updated" endpoints.