From 110142c2e7926a241f7665150cb39f1025ae2822 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 4 Sep 2024 13:12:35 +0200 Subject: [PATCH] feat: use internal sharding (#157) ref: #148 better than #154 since botanique is a small bot Reviewed-on: https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique/pulls/157 Co-authored-by: Mylloon Co-committed-by: Mylloon --- 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,