diff --git a/packages/discord.js/src/structures/Subscription.js b/packages/discord.js/src/structures/Subscription.js index 9a1766024..c46bb8f0c 100644 --- a/packages/discord.js/src/structures/Subscription.js +++ b/packages/discord.js/src/structures/Subscription.js @@ -56,6 +56,14 @@ class Subscription extends Base { */ this.status = data.status; + if ('renewal_sku_ids' in data) { + /** + * The SKU ids that this user will be subscribed to at renewal + * @type {?Snowflake[]} + */ + this.renewalSkuIds = data.renewal_sku_ids; + } + if ('canceled_at' in data) { /** * The timestamp of when the subscription was canceled diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 9baa4c2e4..b9e4fb4e2 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -3132,6 +3132,7 @@ export class Subscription extends Base { public userId: Snowflake; public skuIds: Snowflake[]; public entitlementIds: Snowflake[]; + public renewalSkuIds: Snowflake[] | null; public currentPeriodStartTimestamp: number; public currentPeriodEndTimestamp: number; public status: SubscriptionStatus;