mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
docs(Options): update DefaultMakeCacheSettings (#8585)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -154,9 +154,6 @@ class Options extends null {
|
|||||||
* The default settings passed to {@link Options.cacheWithLimits}.
|
* The default settings passed to {@link Options.cacheWithLimits}.
|
||||||
* The caches that this changes are:
|
* The caches that this changes are:
|
||||||
* * `MessageManager` - Limit to 200 messages
|
* * `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.
|
* <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>
|
* `makeCache: Options.cacheWithLimits({ ...Options.DefaultMakeCacheSettings, ReactionManager: 0 })`</info>
|
||||||
* @type {Object<string, LimitedCollectionOptions|number>}
|
* @type {Object<string, LimitedCollectionOptions|number>}
|
||||||
|
|||||||
Reference in New Issue
Block a user