Sharding

Hey! so I was looking at the previous posts about sharding, as it says sharding is completely on D.JS, then what does the shards: auto does in the SapphireClient?
Solution:
That's part of ClientOptions in discord.js, not sapphire related. https://old.discordjs.dev/#/docs/discord.js/main/typedef/ClientOptions?scrollTo=shardCount If set to "auto", it will spawn the recommended amount of shards from discord.js...
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
Jump to solution
1 Reply
Solution
b1nzee
b1nzee17mo ago
That's part of ClientOptions in discord.js, not sapphire related. https://old.discordjs.dev/#/docs/discord.js/main/typedef/ClientOptions?scrollTo=shardCount If set to "auto", it will spawn the recommended amount of shards from discord.js
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
Want results from more Discord servers?
Add your server