JDA
JDA copied to clipboard
Adds support for user's avatar decorations
Pull Request Etiquette
- [X] I have checked the PRs for upcoming features/bug fixes.
- [X] I have read the contributing guidelines.
Changes
- [X] Internal code
- [X] Library interface (affecting end-user code)
- [X] Documentation
- [ ] Other: _____
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.
It's my first PR there, hope I did not break anything 😓
avatar_decoration_data is also available on Members, please add Member#getAvatarDecoration as well as Member#getEffectiveAvatarDecoration
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 Member and User have a decoration, might as well make AvatarDecoration be its own class, outside of User
@ItsTheSky what is the status here?