My go-to template for building Discord bots with TypeScript & discord.js
- NodeJS
This project was tested with version 20.10.0 however any recent LTS version should work. - pnpm
Or otherwise your favorite package manager. - Some knowledge of how to run a Discord bot.
- Click on the
Use this template
button and create a new repository with your desired name. - Clone your brand new repository, open it in your IDE of choice and start editing.
- When you are ready to run your bot:
- Copy and paste
.env.example
, rename it to.env
and replace the values inside with your environment variables. - Run
pnpm build
andpnpm start
, and your bot should be online.
Instead ofpnpm
use your package manager.
- Copy and paste
- There are no real guidelines for contributing, the only thing that must be done however, is making sure the
prettier
script is ran before opening a pull request.
- Add better documentation.
- Simplify some parts of the code and add comments.