Skip to content

Commit

Permalink
perf: add shards: 'auto'
Browse files Browse the repository at this point in the history
  • Loading branch information
tippfehlr committed Mar 10, 2024
1 parent ee8a204 commit 1694a9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const client = new Discord.Client({
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildPresences,
],
shards: 'auto',
makeCache: Options.cacheWithLimits({
...Options.DefaultMakeCacheSettings,
MessageManager: 0,
Expand Down

0 comments on commit 1694a9a

Please sign in to comment.