This is a monorepo template for advanced Discord bots.
Note This template requires at least an intermediate understanding of TypeScript, Prisma/MySQL and the Discord API, and you'll need to familiarize yourself with the concepts of a monorepo. You'll find things very hard if you don't follow the above.
TODO: Insert gif or link to demo
-
Clone the repo
git clone https://github.com/Codeize/template.git
-
Install dependencies
pnpm install
-
Create and fill in a
.env
file as per the example dataset provided in.env.example
. -
Sync the database
pnpm db:push
-
Start the bot
pnpm dev
Here are some bots that use this template, or a modified version of it:
- Prometheus & Grafana Support
- Website
- Internal API
- Vote Handler
- Docker Support
- Better Documentation
- Demo Video
- Admin Panel
- Dashboard
- Marketing Website
- More API Route Examples
- API Rate Limiting
Contributions are always welcome!
If you have a suggestion or spot a bug feel free to open an issue and I'll get back to you as soon as I can.
- Shadow for many discussions on how initial the initial template by Polar could be improved, aswell as help with the code along the way.
- Polar at OtterDevelopment for creating the initial version of this template.
For support, you can start an issue and I'll try help you out there.