From 911e6eff75f5d05e837d5dfaacf557d6594df16a Mon Sep 17 00:00:00 2001 From: Ryoh827 Date: Fri, 9 Jun 2023 17:45:42 +0900 Subject: [PATCH] docs(ClientOptions): change default value of sweepers in docs (#9591) * docs(ClientOptions): change default value of sweepers in docs * docs(ClientOptions): set sweeper defaults by type * docs(ClientOptions): add 'this.' to DefaultSweeperSettings in docs --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/src/util/Options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/util/Options.js b/packages/discord.js/src/util/Options.js index 7855d3e2703c..9e31308e7590 100644 --- a/packages/discord.js/src/util/Options.js +++ b/packages/discord.js/src/util/Options.js @@ -35,7 +35,7 @@ const { version } = require('../../package.json'); * @property {IntentsResolvable} intents Intents to enable for this connection * @property {number} [waitGuildTimeout=15_000] Time in milliseconds that clients with the * {@link GatewayIntentBits.Guilds} gateway intent should wait for missing guilds to be received before being ready. - * @property {SweeperOptions} [sweepers={}] Options for cache sweeping + * @property {SweeperOptions} [sweepers=this.DefaultSweeperSettings] Options for cache sweeping * @property {WebsocketOptions} [ws] Options for the WebSocket * @property {RESTOptions} [rest] Options for the REST manager * @property {Function} [jsonTransformer] A function used to transform outgoing json data