Discord bot template written with discord.js using javascript.
- Make sure you have yarn and node.js, which is v12 or higher, both installed.
- Fork the repository and clone your fork.
git clone https://github.com/your-username/javascript-bot-template.gitcd javascript-bot-templateyarn install- You will need to get a Discord Bot Token
- Go to the file
config.example.jsonand rename the file toconfig.jsonand fill out the values
yarn dev- runs the development version (usednodemonto hot-reload new changes)
- Command Handling
- Event Handling
- Pre-coded Help Command
- Allow Sub Folders For Commands/Events
- Command Aliases
- Command Cooldowns
- Owner/Guild Only Commands
- Required Args
- User/Client Permissions
- Fork the repository.
- Clone your fork:
git clone https://github.com/your-username/javascript-bot-template.git - Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m "Add some feature" - Push to the branch:
git push - Submit a pull request.
© iColtz.