Skip to content
Success

Changes

Summary

  1. Migration to new username API (#2462) (commit: b877574) (details)
Commit b877574eaa95ed03972ae659dbb23d72c379145f by noreply
Migration to new username API (#2462)

* Deprecate some getters
* Add global_name support
* Update Member#getEffectiveName
* Handle potential removal of discriminator field
* Deprecate AccountManager#setName
(commit: b877574)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/self/SelfUpdateGlobalNameEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/UserUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDA.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/UserImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/managers/AccountManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/User.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/UserSnowflake.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/self/SelfUpdateDiscriminatorEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/SelfUserImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Member.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateDiscriminatorEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateGlobalNameEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/AccountManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/MemberImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/UserSnowflakeImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)