Magic Discord Bot is a Next.js application that allows users to connect their Discord bot and create custom bot commands. Users can define commands that their bot will respond to directly in Discord.
npm installCreate .env and .env.local files with the following values:
# .env
DATABASE_URL="your_database_connection_string_here"
# .env.local
NODE_ENV="development"
⚠️ The user will provide their own Discord bot token during setup, so no token should be included in environment variables.
Create a NEXTAUTH_SECRET:
$ openssl rand -base64 32npm run devnpm run build
npm start- Connect a Discord bot using a token.
- Create and manage custom bot commands.
- Admin dashboard for managing bots, commands, and user interactions.
- Next.js (App Router)
- Prisma ORM with MongoDB
- NextAuth.js for authentication
- Vercel deployment ready
Feel free to fork this project and create pull requests for improvements.