-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Premium Apps: SKU and Entitlement fields #6477
Premium Apps: SKU and Entitlement fields #6477
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.
Are the |
I talked to mason regarding this when implementing Rapptz/discord.py#9453. From what he told me, the deleted field got no relevance. (Might even not work or change for premium SKUs) And we should rely on |
Entitlements can be deleted in some scenarios. This field should be documented so that apps can use it. |
If Discord themselves manually delete it due to refunds/fraud for example. For normal expiry it won't be set True. However does it even will be available when it's deleted, since it also disappears when deleting a test entitlement. If it's not true when it expires, it may be better to point it out, as it can be misleading. |
See discord/discord-api-docs#6451, discord/discord-api-docs#6452, and discord/discord-api-docs#6477. Signed-off-by: mccoderpy <[email protected]>
* Remove consumed from entitlements as not usable by devs * Reorder sku fields to match sku example json * Document 'deleted' field on SKUs * Update 'before?' and 'after?' desc for entitlement pagination * Add to SKU flags * Add ENTITLEMENT_* to Gateway Events * Update ENTITLEMENT_* gateway event descriptions * Clarify ENTITLEMENT_UPDATE and recurring subscriptions * Fix inconsistency in PREMIUM_REQUIRED docs
Addressing docs for Entitlements (#6476)
deleted
.subscription_id
,promotion_id
andgift_code_flags
to remain undocumented at this timebefore
andafter
param descriptions for List Entitlements to be more explicit. Snowflake IDs are time-ordered.Addressing docs for SKUs (#6468)
consumed
as it is not usable by devsFor both models: