From cb2668c5351447663b5d5c8b746381f7167c1791 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 4 Sep 2024 13:10:51 +0200 Subject: [PATCH] use internal sharding --- src/utils/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/client.ts b/src/utils/client.ts index d4aeeb3..b096546 100644 --- a/src/utils/client.ts +++ b/src/utils/client.ts @@ -9,6 +9,7 @@ import { YoutubeiExtractor } from "discord-player-youtubei"; /** Creation of the client and definition of its properties */ export default async () => { const client: Client = new Client({ + shards: "auto", intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages,