Skip to content
Success

Changes

Summary

  1. Add support for premium app subscriptions (#2583) (commit: c3b85d9) (details)
Commit c3b85d97cf5866ca892fe3de089ade471a058cfd by noreply
Add support for premium app subscriptions (#2583)

- New gateway events
- New interaction response type
- Contextual entitlement information in interactions
(commit: c3b85d9)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/interactions/InteractionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/interactions/command/CommandInteractionImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/handle/EntitlementCreateHandler.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/entitlement/EntitlementDeleteEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/interactions/InteractionCallbackAction.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/interactions/callbacks/IPremiumRequiredReplyCallback.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/Route.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/handle/EntitlementUpdateHandler.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/IncomingWebhookClientImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/Entitlement.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/interactions/PremiumRequiredCallbackActionImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/requests/restaction/pagination/EntitlementPaginationAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/interactions/component/EntitySelectMenuImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/entitlement/EntitlementUpdateEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/entitlement/GenericEntitlementEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/commands/CommandInteraction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/AbstractWebhookClient.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/handle/EntitlementDeleteHandler.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/pagination/EntitlementPaginationActionImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/entitlement/package-info.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/GenericInteractionCreateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/component/GenericComponentInteractionCreateEvent.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/events/interaction/command/GenericCommandInteractionEvent.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/requests/restaction/CommandCreateActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/components/ComponentInteraction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/Interaction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/automod/AutoModRuleImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/requests/restaction/interactions/PremiumRequiredCallbackAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/interactions/component/ComponentInteractionImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/entitlement/EntitlementCreateEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/EntitlementImpl.java