Skip to content

Discord bot templates written with discord.js in typescript. Has a command handler with features such as cooldowns, aliases, permission handling. Also has a event handler. And many more features!

License

Notifications You must be signed in to change notification settings

ColeTownsend/typescript-bot-template

Repository files navigation

TypeScript Bot Template

Discord bot template written with discord.js using type script.

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/typescript-bot-template.git
  • cd typescript-bot-template
  • yarn install
  • You will need to get a Discord Bot Token
  • Go to the file ./src/bot/settings.ts and fill out the values

Scripts

  • yarn dev - runs the development version (used ts-node-dev to hot-reload new changes)
  • yarn build - complies to TypeScript files into JavaScript.

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/typescript-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.

About

Discord bot templates written with discord.js in typescript. Has a command handler with features such as cooldowns, aliases, permission handling. Also has a event handler. And many more features!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published