Skip to content

Commit

Permalink
Disable caching of DMs
Browse files Browse the repository at this point in the history
  • Loading branch information
TAEMBO committed May 16, 2024
1 parent 1d53492 commit 417cfc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ export default class TClient extends Client<true> {
],
presence: config.botPresence as PresenceData,
makeCache: Options.cacheWithLimits({
...Options.DefaultMakeCacheSettings,
BaseGuildEmojiManager: 0,
GuildEmojiManager: 0,
GuildMessageManager: 500,
DMMessageManager: 0
}),
allowedMentions: {
repliedUser: false,
Expand Down

0 comments on commit 417cfc5

Please sign in to comment.