Skip to content

This is a tool for sharding a bot made with discord.js.

Notifications You must be signed in to change notification settings

MinimumBots/shards-allocater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shards Allocater

This is a tool for sharding a bot made with discord.js.

How to use

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]]]

Environments

When you specify these, you do not need to specify the values in the command.

DISCORD_TOKEN

Discord bot token.

TOTAL_SHARDS(optional)

The number of bot shards.
When not specified, it will be assigned automatically.

SHARD_LIST(optional)

The shard number assigned to the bot.
Please specify by separating with ,.
When not specified, it will be assigned automatically.

About

This is a tool for sharding a bot made with discord.js.

Resources

Stars

Watchers

Forks