djs v13 sharding

My bot has reached the 2.5k server limit needed before sharding so id just like some help in figuring out how to enable sharding, I’ve followed the djs guide for it but seem to run into this error https://pastebin.com/twi32zPr
Pastebin
PS C:\Users\yasht\Documents\GitHub\Moonlight> node .Launched shard ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
3 Replies
d.js toolkit
d.js toolkit5mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
yashシ
yashシ5mo ago
Index.js file (as shown in guide): https://pastebin.com/f1hQ7V0T Bot.js file: https://pastebin.com/B6Lm4X6F
Pastebin
const { ShardingManager } = require('discord.js');let { token } = r...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
const { Client, Message, MessageEmbed, Collection, Intents } = requ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
yashシ
yashシ5mo ago
Thank you! Will there be a point where internal sharding will be ineffective? @Qjuh Ah I see, thank you very much