Subscription
Documentation / @discordeno/bot / Subscription
Interface: Subscription
Defined in: transformers/types.ts:1984
Properties
canceledAt
canceledAt:
number
Defined in: transformers/types.ts:2002
When the subscription was canceled
country?
optionalcountry:string
Defined in: transformers/types.ts:2004
ISO3166-1 alpha-2 country code of the payment source used to purchase the subscription. Missing unless queried with a private OAuth scope.
currentPeriodEnd
currentPeriodEnd:
number
Defined in: transformers/types.ts:1998
End of the current subscription period
currentPeriodStart
currentPeriodStart:
number
Defined in: transformers/types.ts:1996
Start of the current subscription period
entitlementIds
entitlementIds:
bigint[]
Defined in: transformers/types.ts:1992
List of entitlements granted for this subscription
id
id:
bigint
Defined in: transformers/types.ts:1986
ID of the subscription
renewalSkuIds?
optionalrenewalSkuIds:bigint[]
Defined in: transformers/types.ts:1994
List of SKUs that this user will be subscribed to at renewal
skuIds
skuIds:
bigint[]
Defined in: transformers/types.ts:1990
List of SKUs subscribed to
status
status:
DiscordSubscriptionStatus
Defined in: transformers/types.ts:2000
Current status of the subscription
userId
userId:
bigint
Defined in: transformers/types.ts:1988
ID of the user who is subscribed