types(Options): add types for cacheWithLimits (#6095)

This commit is contained in:
DTrombett
2021-07-16 13:20:38 +02:00
committed by GitHub
parent 576eee8de2
commit 8db6df3d1e
3 changed files with 35 additions and 5 deletions

View File

@@ -53,6 +53,8 @@ const client: Client = new Client({
intents: Intents.FLAGS.GUILDS,
makeCache: Options.cacheWithLimits({
MessageManager: 200,
// @ts-expect-error
Message: 100,
}),
});