interactions.py
interactions.py copied to clipboard
[FEAT] Add in support for App Subscriptions
Problem Description
Quite a while ago, Discord added App Subscriptions, allowing apps to natively integrate with Discord to offer "premium" offerings through a subscription. Needless to say, interactions.py should add in the proper fields and classes to support this.
Proposed Solution
There are some major things to add:
- A
PREMIUM_REQUIREDto application command responses. entitlementsadded to interaction context objects.ENTITLEMENT_CREATEandENTITLEMENT_UPDATEevents.- A HTTP and bot method to list entitlements.
Alternatives Considered
No response
Additional Information
No response
Code of Conduct
- [X] I agree to follow the contribution requirements.