feat: use internal sharding #157

Merged
Anri merged 1 commit from internal-sharding into main 2024-09-04 13:12:36 +02:00

View file

@ -9,6 +9,7 @@ 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,