diff --git a/packages/discord.js/src/managers/SubscriptionManager.js b/packages/discord.js/src/managers/SubscriptionManager.js index ea25b9b858a5d..a555cefde2bef 100644 --- a/packages/discord.js/src/managers/SubscriptionManager.js +++ b/packages/discord.js/src/managers/SubscriptionManager.js @@ -35,7 +35,7 @@ class SubscriptionManager extends CachedManager { * @typedef {Object} FetchSubscriptionsOptions * @property {Snowflake} [after] Consider only subscriptions after this subscription id * @property {Snowflake} [before] Consider only subscriptions before this subscription id - * @property {number} [limit=50] The maximum number of subscriptions to fetch + * @property {number} [limit] The maximum number of subscriptions to fetch * @property {SKUResolvable} sku The SKU to fetch subscriptions for * @property {UserResolvable} user The user to fetch entitlements for * If both `before` and `after` are provided, only `before` is respected @@ -49,7 +49,7 @@ class SubscriptionManager extends CachedManager { async fetch(options = {}) { if (typeof options !== 'object') throw new DiscordjsTypeError(ErrorCodes.InvalidType, 'options', 'object', true); - const { after, before, cache = true, limit = 50, sku, subscriptionId, user } = options; + const { after, before, cache = true, limit, sku, subscriptionId, user } = options; const skuId = resolveSKUId(sku); diff --git a/packages/discord.js/src/structures/Subscription.js b/packages/discord.js/src/structures/Subscription.js index 69c1f0bb7faae..3d861d9dc77da 100644 --- a/packages/discord.js/src/structures/Subscription.js +++ b/packages/discord.js/src/structures/Subscription.js @@ -68,7 +68,7 @@ class Subscription extends Base { if ('country' in data) { /** - * ISO3166-1 alpha-2 country code of the payment source used to purchase the subscription. + * ISO 3166-1 alpha-2 country code of the payment source used to purchase the subscription. * Missing unless queried with a private OAuth scope. * @type {?string} */