Discord bot template written with discord.js using type script.
- 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
yarn dev
- runs the development version (usedts-node-dev
to hot-reload new changes)yarn build
- complies to TypeScript files into JavaScript.
- 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/typescript-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.