Skip to content

Commit

Permalink
docs(Options): fix links and invalid syntax (discordjs#9322)
Browse files Browse the repository at this point in the history
Co-authored-by: Almeida <almeidx@pm.me>
  • Loading branch information
jaw0r3k and almeidx committed Apr 23, 2023
1 parent 48e404d commit 6513c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/Options.js
Expand Up @@ -251,7 +251,7 @@ class Options extends null {
}

/**
* The default settings passed to {@link Options.cacheWithLimits}.
* The default settings passed to {@link ClientOptions.makeCache}.
* The caches that this changes are:
* * `MessageManager` - Limit to 200 messages
* * `ChannelManager` - Sweep archived threads
Expand Down Expand Up @@ -281,11 +281,11 @@ class Options extends null {
}

/**
* The default settings passed to {@link Options.sweepers} (for v14).
* The default settings passed to {@link ClientOptions.sweepers}.
* The sweepers that this changes are:
* * `threads` - Sweep archived threads every hour, removing those archived more than 4 hours ago
* <info>If you want to keep default behavior and add on top of it you can use this object and add on to it, e.g.
* `sweepers: { ...Options.defaultSweeperSettings, messages: { interval: 300, lifetime: 600 } })`</info>
* `sweepers: { ...Options.defaultSweeperSettings, messages: { interval: 300, lifetime: 600 } }`</info>
* @type {SweeperOptions}
*/
Options.defaultSweeperSettings = {
Expand Down

0 comments on commit 6513c41

Please sign in to comment.