Shards
how does sharding work:
one shard can have many processes? or
one process can have many shards? or
one shard has only one process?
that's what im using
5 Replies
- 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!one process can have many shards
The default using the sharding manager is to have one manager / parent process and then one child process per shard.
so when i return bot.shard.ids mostly ill only get one shard per process
by default
Yes