feat: basic sharding support #154

Closed
Anri wants to merge 4 commits from sharding into main
Showing only changes of commit 4ef2e1f1b4 - Show all commits

View file

@ -9,7 +9,6 @@ import { YoutubeiExtractor } from "discord-player-youtubei";
/** Creation of the client and definition of its properties */ /** Creation of the client and definition of its properties */
export default async () => { export default async () => {
const client: Client = new Client({ const client: Client = new Client({
shards: "auto",
intents: [ intents: [
GatewayIntentBits.Guilds, GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessages,