Subscription
Documentation / @discordeno/bot / Subscription
Interface: Subscription
Defined in: bot/src/transformers/types.ts:1924
Properties
canceledAt
canceledAt:
number
Defined in: bot/src/transformers/types.ts:1942
When the subscription was canceled
country?
optionalcountry:string
Defined in: bot/src/transformers/types.ts:1944
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: bot/src/transformers/types.ts:1938
End of the current subscription period
currentPeriodStart
currentPeriodStart:
number
Defined in: bot/src/transformers/types.ts:1936
Start of the current subscription period
entitlementIds
entitlementIds:
bigint[]
Defined in: bot/src/transformers/types.ts:1932
List of entitlements granted for this subscription
id
id:
bigint
Defined in: bot/src/transformers/types.ts:1926
ID of the subscription
renewalSkuIds?
optionalrenewalSkuIds:bigint[]
Defined in: bot/src/transformers/types.ts:1934
List of SKUs that this user will be subscribed to at renewal
skuIds
skuIds:
bigint[]
Defined in: bot/src/transformers/types.ts:1930
List of SKUs subscribed to
status
status:
DiscordSubscriptionStatus
Defined in: bot/src/transformers/types.ts:1940
Current status of the subscription
userId
userId:
bigint
Defined in: bot/src/transformers/types.ts:1928
ID of the user who is subscribed