- Get Node.js
- Open command line prompt in project directory
- Run
npm install --save discord.js
to get required modules - Run the bot with
node bot.js
The token in config.json is supposed to be super secretive. It basically tells Discord which bot you are.
- Go to https://discordapp.com/developers/applications/me.
- Go through the steps of creating a new application
Find in-depth guide here - Replace the token with your own token and run it.