mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
feat(Managers): add customizable caching for managers (#6013)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import {
|
||||
Client,
|
||||
Options,
|
||||
Collection,
|
||||
Intents,
|
||||
Message,
|
||||
@@ -17,6 +18,9 @@ import {
|
||||
|
||||
const client: Client = new Client({
|
||||
intents: Intents.NON_PRIVILEGED,
|
||||
makeCache: Options.cacheWithLimits({
|
||||
MessageManager: 200,
|
||||
}),
|
||||
});
|
||||
|
||||
const testGuildID = '222078108977594368'; // DJS
|
||||
|
||||
Reference in New Issue
Block a user