This is a tool for sharding a bot made with discord.js.
Specify the bot's relative path and token on the command line.
You can optionally specify a total shard and a shard list.
npx sharding BOT_PATH [DISCORD_TOKEN [TOTAL_SHARDS [SHARD_LIST]]]
When you specify these, you do not need to specify the values in the command.
Discord bot token.
The number of bot shards.
When not specified, it will be assigned automatically.
The shard number assigned to the bot.
Please specify by separating with ,
.
When not specified, it will be assigned automatically.