-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(http, model, util): add role subscriptions
Add support for guild role subscriptions. This involves: - a new `RoleSubscriptionPurchase` variant on `MessageType` - four new guild features: - `CreatorMonetizableProvisional` - `CreatorStorePage` - `RoleSubscriptionsAvailableForPurchase` - `RoleSubscriptionsEnabled` - a new `GuildSubscription` variant on `GuildIntegrationType` - two new role tag fields: - `available_for_purchase` (bool) - `subscription_listing_id` (optional snowflake) Depends on PR #2030 since it makes `GuildIntegrationType` into an enum which this adds a variant to, is related to #2032 since it abstracts the optional null boolean, and relates to #2033 since it reworks tests this adds to. API docs: discord/discord-api-docs@e003051 Closes #2027.
- Loading branch information
1 parent
34bd1bd
commit cf09f4a
Showing
8 changed files
with
152 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters