This repository is a example for use shard with discord.js
You need :
- Node.js > 8.0.0 or later
- NPM > 5.0.0 or later
Create a bot user on discord devloper and get token
Clone repository on your computer (or download if you are on windows)
Go to the config.json file and add the token of your bot on the good case.
For start the bot you can use 2 comand :
npm run test
or
node shard.js
Nesmon (read code)
@thomasbnt the link and small information)