-
Notifications
You must be signed in to change notification settings - Fork 187
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(entitlements): add premium entitlements #1138
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given discords removal of some areas covered by this PR with guidance not to add them to libs I think we wait for a bit. Link
They did not made significant changes to the API which makes this pr still work without any issues |
Summary
Discord recently added a feature where bots can implement their own premium versions to earn some money. This PR is adding functionality to fetch the entitlements of the users aswell as receiving the events of these. This PR also adds the interaction response type
10
, which is the response to prompt the user to subscribe to the bot's premium subscription.Testing code: https://paste.nextcord.dev/?id=1698181802920231
This is a Code Change
task pyright
and fixed the relevant issues.