/javascript-bot-template

Discord bot templated written in javascript using discord.js. Has many features such as advanced command handling with cooldowns, aliases and much more! Advanced event handling and much more!

Primary LanguageJavaScriptMIT LicenseMIT

Javascript Bot Template

Discord bot template written with discord.js using javascript.

Installtion

  • 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.git
  • cd javascript-bot-template
  • yarn install
  • You will need to get a Discord Bot Token
  • Go to the file config.example.json and rename the file to config.json and fill out the values

Scripts

  • yarn dev - runs the development version (used nodemon to hot-reload new changes)

Features

  • 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

Contributing

  1. Fork the repository.
  2. Clone your fork: git clone https://github.com/your-username/javascript-bot-template.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -m "Add some feature"
  5. Push to the branch: git push
  6. Submit a pull request.

Author

© iColtz.