Skip to content

Commit 911e6ef

Browse files
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>
1 parent 1ab60f9 commit 911e6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/util/Options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const { version } = require('../../package.json');
3535
* @property {IntentsResolvable} intents Intents to enable for this connection
3636
* @property {number} [waitGuildTimeout=15_000] Time in milliseconds that clients with the
3737
* {@link GatewayIntentBits.Guilds} gateway intent should wait for missing guilds to be received before being ready.
38-
* @property {SweeperOptions} [sweepers={}] Options for cache sweeping
38+
* @property {SweeperOptions} [sweepers=this.DefaultSweeperSettings] Options for cache sweeping
3939
* @property {WebsocketOptions} [ws] Options for the WebSocket
4040
* @property {RESTOptions} [rest] Options for the REST manager
4141
* @property {Function} [jsonTransformer] A function used to transform outgoing json data

0 commit comments

Comments
 (0)