running a Discord bot on multiple hosts

Is there a way to run a Discord bot on multiple hosts? I now have access to two host servers, and would like to be able to run 50 shards of my bot on one host and the last 50 shards of my bot on the second host. Are there any tutorials to go about this? I have not found any.
2 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
vivian <3
vivian <3OP3y ago
i don't know anything about shardList, but does it function along the lines of an input array in which i specify which shards go online on each host? ex.
(inside shard manager)

shardList: [ 0, ..., 49 ]
(inside shard manager)

shardList: [ 0, ..., 49 ]
perfect, thank you!
Want results from more Discord servers?
Add your server