A comprehensive Discord bot ecosystem featuring:
- All-in-One Discord Bot - 400+ commands including moderation, music, leveling, economy, games, and more
- Modmail Bot - Dedicated DM-based ticket system for user support
- Dashboard Website - Beautiful web interface with Discord OAuth login, server management, and real-time status
/
├── src/ # Main Discord bot
│ ├── commands/ # Bot commands organized by category
│ ├── events/ # Discord.js event handlers
│ ├── handlers/ # Various handlers (music, games, etc.)
│ ├── database/ # MongoDB models and connection
│ └── bot.js # Main bot entry point
├── modmail/ # Modmail bot
│ └── bot.js # Modmail bot entry point
├── website/ # Dashboard website
│ ├── public/ # Static assets (CSS, JS)
│ ├── views/ # EJS templates
│ ├── routes/ # Express routes
│ ├── db/ # PostgreSQL database layer
│ └── server.js # Express server entry point
└── index.js # Main entry point (runs all services)
- Runtime: Node.js 20
- Discord Library: discord.js v14
- Web Framework: Express.js
- Template Engine: EJS
- Databases:
- MongoDB (bot data)
- PostgreSQL (website/dashboard)
- Authentication: Passport.js with Discord OAuth2
DISCORD_TOKEN- Main bot tokenDISCORD_TOKEN1- Modmail bot tokenMONGO_TOKEN- MongoDB connection string
DISCORD_CLIENT_ID- Discord application client IDDISCORD_CLIENT_SECRET- Discord application client secretSESSION_SECRET- Express session secret
UPTIMEROBOT_API_KEY- UptimeRobot API key for status monitoringSPOTIFY_CLIENT_ID- Spotify API client IDSPOTIFY_CLIENT_SECRET- Spotify API client secretWEBHOOK_ID- Discord webhook ID for loggingWEBHOOK_TOKEN- Discord webhook token
The project runs three services:
- Website (Port 5000) - Dashboard and API
- Main Bot - Discord bot with all features
- Modmail Bot - Separate modmail system
All services start from index.js.
- Moderation (ban, kick, timeout, warn, etc.)
- Music (YouTube, Spotify, Deezer, Apple Music)
- Leveling system with role rewards
- Economy with shops and gambling
- Giveaways and tickets
- Reaction roles
- Server statistics
- Fun commands and games
- Image generation
- And 400+ more commands!
- DM-based ticket creation
- Staff replies through ticket channels
- Ticket transcripts stored in database
- Multi-server support
- Blue/black gradient design with animations
- Discord OAuth2 login
- Server management
- Real-time bot status
- UptimeRobot integration
- 2024-12-07: Added modmail bot
- 2024-12-07: Created dashboard website
- 2024-12-07: Added PostgreSQL database for website
- 2024-12-07: Integrated UptimeRobot status monitoring