code for Sleeperz Discord Bot
-
Install the latest version of node.js (16.1). During the installation, make sure to install NPM and add both node and NPM to your path. Make sure to install
gitas well. -
Install Yarn
# npm install -g yarn -
Clone the repository and install dependencies
$ git clone https://github.com/SleeperzGaming/Bot.git && cd Bot && yarn install -
Make changes to all the files that you would like to change. Test the bot before pushing to make sure the features you added work properly. Add senstitive information like the bot's token in a
.envfile referring to.env.exampleas an example file. -
Commit and stage all changes with a descriptive message explaining what you changed and why
$ git add -A && git commit -m "Your Message" -
Push changes to remote
$ git push -u origin main
If you have write access, code will automatically be updated, otherwise a PR will be created.