Skip to content
Success

Changes

Summary

  1. Uniform representation of emoji (#2117) (commit: 2150f0f) (details)
Commit 2150f0faa45d97eead373441b5d8e6c494c55a75 by noreply
Uniform representation of emoji (#2117)

* Rename MessageReaction#getReactionEmote
* Add Emote#getOwner
* Add Emote#retrieveOwner
* Restructure hierarchy and rename Emote to CustomEmoji
* Add Emoji#getFormatted
* Rename Emoji#fromMarkdown to Emoji#fromFormatted
* Remove RichCustomEmoji#canProvideRoles
* Make RichCustomEmoji#getGuild never-null
* Handle permissions for RichCustomEmoji#retrieveOwner
* Add sticker events to GatewayIntent#fromEvents
* Allow setting role icon with UnicodeEmoji
(commit: 2150f0f)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/emoji/RichCustomEmoji.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/package-info.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/mixin/channel/middleman/GuildMessageChannelMixin.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/entities/Emote.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/cache/CacheFlag.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Route.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/managers/CustomEmojiManager.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/ErrorResponse.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/audit/AuditLogKey.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/emoji/UnicodeEmoji.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageReaction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/Permission.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/audit/TargetType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/RoleManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/interactions/component/ButtonImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/GenericEmojiEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/react/GenericMessageReactionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildEmojisUpdateHandler.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/package-info.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ActivityImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDA.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Message.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/components/buttons/Button.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/pagination/ReactionPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/sticker/GuildSticker.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/entities/ListedEmote.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Mentions.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/update/GenericEmoteUpdateEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/components/selections/SelectMenu.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/internal/entities/EmoteImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/message/react/MessageReactionRemoveEmojiEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/mentions/AbstractMentions.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/update/EmoteUpdateNameEvent.java
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/EmoteAddedEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/AbstractMessage.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/RichPresenceImpl.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/update/EmoteUpdateRolesEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/components/selections/SelectOption.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/handle/MessageReactionClearEmojiHandler.java
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/GenericEmoteEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/update/EmojiUpdateNameEvent.java
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/update/package-info.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/PermissionUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/audit/ActionType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/RoleAction.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/emoji/CustomEmojiImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/GuildMessageChannel.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/update/EmojiUpdateRolesEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/MemberImpl.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/entities/Emoji.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/emoji/CustomEmoji.java
The file was removedsrc/main/java/net/dv8tion/jda/internal/managers/EmoteManagerImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/GatewayIntent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/MessageReactionHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/pagination/ReactionPaginationActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildRoleDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/emoji/Emoji.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Activity.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/managers/CustomEmojiManagerImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/EmojiAddedEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/emoji/RichCustomEmojiImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/emoji/UnicodeEmojiImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/mixin/channel/middleman/MessageChannelMixin.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/internal/handle/MessageReactionClearEmoteHandler.java
The file was removedsrc/main/java/net/dv8tion/jda/api/events/emote/EmoteRemovedEvent.java
The file was removedsrc/main/java/net/dv8tion/jda/api/managers/EmoteManager.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/managers/GuildStickerManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/EmojiRemovedEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/update/package-info.java
The file was removedsrc/main/java/net/dv8tion/jda/api/events/message/react/MessageReactionRemoveEmoteEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/ShardManager.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/emoji/update/GenericEmojiUpdateEvent.java