Skip to content
Success

Changes

Summary

  1. Rework stickers (#2104) (commit: 3f4f8c5) (details)
Commit 3f4f8c5f13ab35fcc3f843f09d66eb26cb5b0091 by noreply
Rework stickers (#2104)

* Add sticker packs and standard stickers
* Add sticker send support
* Add MessageBuilder#setStickers and check for edit
* Add Message#replyStickers
* Add GuildSticker#delete
* Add GuildSticker#retrieveOwner
* Add new event classes and update intent name
* Add GuildStickerManager
* Add support for image proxy and cover sticker
* Introduce CacheRestAction
* Add Guild#createSticker
* Allow FileUpload to be used more than once
* Add FileUpload#getRequestBody
(commit: 3f4f8c5)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/ErrorResponse.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/sticker/StickerItemImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/GuildSticker.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/MessageBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Route.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/update/EmoteUpdateRolesEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/cache/CacheFlag.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/package-info.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/AttachmentUpdate.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/StickerSnowflake.java
The file was addedsrc/main/java/net/dv8tion/jda/api/requests/restaction/CacheRestAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Requester.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/package-info.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/mixin/channel/middleman/GuildMessageChannelMixin.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/handle/GuildStickersUpdateHandler.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/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/IOUtil.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/sticker/StickerSnowflakeImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/sticker/StandardStickerImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/sticker/GuildStickerImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/Helpers.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/DataMessage.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/Sticker.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/sticker/StickerPackImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildEmojisUpdateHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/update/GuildStickerUpdateNameEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/EmoteAddedEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/FileUpload.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/AttachedFile.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/GenericEmoteEvent.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/update/GuildStickerUpdateTagsEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/managers/GuildStickerManagerImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/GatewayIntent.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/StickerItem.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/StickerUnion.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/update/GenericGuildStickerUpdateEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/update/GuildStickerUpdateDescriptionEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/StandardSticker.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/update/package-info.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/RichSticker.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/update/EmoteUpdateNameEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/EmoteRemovedEvent.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/update/package-info.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/GuildMessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/emote/update/GenericEmoteUpdateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/MessageActionImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/GuildStickerAddedEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/SystemMessage.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/sticker/RichStickerImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/BufferedRequestBody.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/managers/GuildStickerManager.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/sticker/StickerPack.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Message.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/GuildStickerRemovedEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/MessageAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDA.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/update/GuildStickerUpdateAvailableEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/DeferredRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/api/entities/MessageSticker.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/sticker/GenericGuildStickerEvent.java