feat: use internal sharding (#157)
All checks were successful
Publish latest version / build (push) Successful in 1m35s

ref: #148

better than #154 since botanique is a small bot

Reviewed-on: #157
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
Mylloon 2024-09-04 13:12:35 +02:00 committed by Mylloon
parent 8071bc8226
commit 110142c2e7
Signed by: Forgejo
GPG key ID: E72245C752A07631

View file

@ -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,