-
You will first need an installation of node.js, follow thislink to their official site.
- Version 8 was used.
-
Once node.js is installed, while being at the root of the project run :
$ npm install
You might have noticed that the bot comes with a config.json.dummy
file. You will have to rename this file to config.json
and make sure to fill in your bot token.
- You will have to run the following command to transpile the code :
$ npm run build
- You can also have the build be trigger every time the source code is modified; To watch the code run the following command :
$ npm run watch
- Make sure you have already built the project and run the following command :
$ npm run start
- After a few seconds you should see a
I am ready!
text appear.