Skip to content

Commit

Permalink
docs(Options): update DefaultMakeCacheSettings (#8585)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
advaith1 and kodiakhq[bot] committed Sep 11, 2022
1 parent 7a9e52e commit 3252332
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/discord.js/src/util/Options.js
Expand Up @@ -154,9 +154,6 @@ class Options extends null {
* The default settings passed to {@link Options.cacheWithLimits}.
* The caches that this changes are:
* * `MessageManager` - Limit to 200 messages
* * `ChannelManager` - Sweep archived threads
* * `GuildChannelManager` - Sweep archived threads
* * `ThreadManager` - Sweep archived threads
* <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.
* `makeCache: Options.cacheWithLimits({ ...Options.DefaultMakeCacheSettings, ReactionManager: 0 })`</info>
* @type {Object<string, LimitedCollectionOptions|number>}
Expand Down

0 comments on commit 3252332

Please sign in to comment.