-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
Implement user banner & banner color #1736
Implement user banner & banner color #1736
Conversation
Placed in freezer until Docs PR is merged |
The docs PR has been merged. |
src/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateAccentColorEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateAccentColorEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateAccentColorEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateBannerEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java
Outdated
Show resolved
Hide resolved
• Adds `getAccentColorRaw` method for the accent color. • Adds missing copyright to events. • Clarifies some docs and adds missing annotations.
src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java
Outdated
Show resolved
Hide resolved
All of these new properties are related to a user's profile. |
Just went through reviews, apologies for the delay here. |
src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Florian Spieß <business@minn.dev>
…java Co-authored-by: Florian Spieß <business@minn.dev>
Co-authored-by: Florian Spieß <business@minn.dev>
Co-authored-by: Florian Spieß <business@minn.dev>
Co-authored-by: Florian Spieß <business@minn.dev>
…java Co-authored-by: Florian Spieß <business@minn.dev>
…java Co-authored-by: Florian Spieß <business@minn.dev>
All review suggestions have been committed. |
For the future, you can batch apply suggestions for code review... |
Co-authored-by: Florian Spieß <business@minn.dev>
Pull Request Etiquette
Changes
Closes Issue: NaN
Description
Implements basic support for user banners. This is not very usable currently, missing docs, and is expected to break when the Discord API is changed shortly.
Docs PR: discord/discord-api-docs#3448
Considerations
• Banner information is only sent when the user is specifically requested, a method to retrieve this might be beneficial.
• The handling of unknown state from passively gathered user objects
• The changes that will be made to the
banner_color
field are currently not known in detail.