From 6513c418543f1dc39b596a80802d53f0b16c042e Mon Sep 17 00:00:00 2001 From: Jaw0r3k Date: Sun, 23 Apr 2023 15:03:25 +0200 Subject: [PATCH] docs(Options): fix links and invalid syntax (#9322) Co-authored-by: Almeida --- src/util/Options.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/Options.js b/src/util/Options.js index f2420dc21cd0..e77c1c87276f 100644 --- a/src/util/Options.js +++ b/src/util/Options.js @@ -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 @@ -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 * 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 } })` + * `sweepers: { ...Options.defaultSweeperSettings, messages: { interval: 300, lifetime: 600 } }` * @type {SweeperOptions} */ Options.defaultSweeperSettings = {