Just getting started? Make sure to read this.
./root/commandData.json holds
- Make sure you know JavaScript and discord.js. More information here.
- Next, fork the project following this guide.
- Make sure to setup node.js, and Git during this step.
- Also, run
npm install
to install the required packages after you clone. - Then, write some code or modify the existing code and push your changes to your fork of the repository.
How to push code to a repository:
git add .
git commit -m "BRIEF CHANGELOG HERE"
git push
- And create a pull request.
I have setup a testing bot with very limited permissions in the server for testing purposes. In your project folder create a file named .env
and write the following line in it (use token from this message): TOKEN=TOKENFROMMESSAGE
and save the file. When you go to run your code (node index.js
), the testing bot should come online and will be running your code on your computer.