class Entitlement
extends
Baseexport class Entitlement extends BaseRepresents an Entitlement
applicationId : Snowflake
The id of the parent application
consumed : boolean
Whether this entitlement has been consumed
deleted : boolean
Whether this entitlement was deleted
id : Snowflake
The id of the entitlement
skuId : Snowflake
The id of the associated SKU
type : EntitlementType
The type of this entitlement
userId : Snowflake
The id of the user that is granted access to this entitlement's SKU
Marks this entitlement as consumed Only available for One-Time Purchase consumable SKUs.
isActive() : boolean
Indicates whether this entitlement is active
Indicates whether this entitlement is a guild subscription
isTest() : this is this & { startsTimestamp: null; endsTimestamp: null; get startsAt(): null; get endsAt(): null; }
Indicates whether this entitlement is a test entitlement
Indicates whether this entitlement is a user subscription