A modern and customizable Discord bot template built and maintained by the Milkshake Collective.
This template is designed in TypeScript with a focus on scalability, maintainability, and best practices.
- 📦 Modular command & event system
- 🛢 Prisma ORM for database management
- 🚀 Turborepo for monorepo setup and scalability
- ⚡ TypeScript with full type-safety
- 🔒 Role-based permission utilities
- 🛠 Dev-tools: dotenv, prettier, pino
- 🤖 Powered by discord.js
git clone https://github.com/MilkshakeCollective/bot-template.git
cd bot-templatenpm installRename .env.template to .env file in the root directory and configure your environment variables:
CLIENT_TOKEN="" # Discord Client Token <https://discord.com/developers/applications>
CLIENT_ID="" # Discord Client ID <https://discord.com/developers/applications>
CLIENT_SECRET="" # Discord Client Secret <https://discord.com/developers/applications>
ENABLE_CRASH_HANDLER=true
ENABLE_CRASH_WEBHOOK=true
EXIT_ON_CRASH=false
CRASH_HANDLER_WEBHOOK=https://discord.com/api/webhooks/xxxx/xxxx
DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
npm run buildnpm run prismanpm run start-botWe welcome contributions from the community! Feel free to open issues, suggest features, or submit pull requests.
- 💬 Community: Join our Discord
- 🔗 GitHub: Milkshake Collective
- ☕ Support us: Ko-Fi
This project is licensed under the GPL-3.0 License.