Skip to content
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

feat: add EntitlementData#consumed #170

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

Azn9
Copy link
Member

@Azn9 Azn9 commented May 18, 2024

A new field added by discord :(

@Azn9 Azn9 added the field/addition A field is being added label May 18, 2024
@Azn9 Azn9 requested a review from Doc94 May 18, 2024 20:05
@Azn9 Azn9 self-assigned this May 18, 2024
Azn9 added a commit to Azn9/Discord4J that referenced this pull request May 18, 2024
@Azn9 Azn9 merged commit ba2d375 into Discord4J:1.6.x Jun 11, 2024
3 checks passed
@Azn9 Azn9 deleted the feat/add-new-entitlement-field branch June 11, 2024 01:22
Azn9 added a commit that referenced this pull request Jun 11, 2024
@Azn9 Azn9 added this to the 1.6.19 milestone Jun 25, 2024
Doc94 added a commit to Discord4J/Discord4J that referenced this pull request Jul 17, 2024
* wip: skus, entitlements and monetization

* feat: added core objects

* feat: updated entitlement events

* feat: updated interaction responses to add `PREMIUM_REQUIRED`

* feat: added monetization rest routes

* feat: added gateway dispatch handlers for entitlement events

* fix: rename DeferrableInteractionEvent#displayPremiumRequired to replyWithPremiumRequired

* feat: add missing query params for MonetizationService#getAllEntitlements, and add more methods to interact with monetization entities

* fix: revert unwanted formatting

* feat: added Entitlement#isConsumed and new Entitlement.Type types.

Requires Discord4J/discord-json#170

* fix: add missing SKU.Type, add MonetizationService#consumeEntitlement and Entitlement#consume

* fix: mark everything related to monetization as @experimental as it cannot be tested

---------

Co-authored-by: Doc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
field/addition A field is being added
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants