A feature-rich Discord bot with a powerful web dashboard, designed to bring more activity to your server while keeping control with advanced moderation features.
- 🤖 AI Integration - Chat with AI and generate images using DALL-E/Stable Diffusion
- 🧠 AI Memory & Prompting - Larger system prompts, conversation memory, and optional Qdrant vector memory
- 🌍 Multilingual - Full i18n support for 15 languages
- 💰 Economy System - Full economy with daily rewards, jobs, shops, trading, quests, and achievements
- 🎵 Music System - Lavalink-powered playback with queue controls, filters, and improved reliability
- 🎮 Entertainment - 60+ game extensions, polls, giveaways, and fun commands
- 🛡️ Moderation - Progressive strike system, raid/spam detection, expanded audit logging, and modlog exports
- 🛠️ Developer Tools - Code execution, linting, regex testing, and JSON utilities
- 📊 Analytics - Activity scoring, server statistics, and leaderboards
- ⚙️ Server Management - Dashboard-based channel and role management with drag-and-drop
- 🎨 Embed Builder - Visual embed creator with templates, live preview, and variable replacement
- 📢 Social Alerts - Twitch/YouTube stream and upload notifications with custom embeds
- 📝 Form Builder - Application forms with approval workflow, auto-roles, and webhooks
- 🧩 Extensions - Create, share, and install custom server extensions with slash command support
- 🎫 Ticket System - Per-server support tickets with categories, panels, and transcripts
- 🎮 Game Updates - Monitor and announce updates for Minecraft, Rust, Terraria, and more
- 💎 Server Premium - Per-server subscriptions with Stripe/PayPal/BTCPay
- 🗳️ Vote Rewards - Earn points from voting, referrals, and spend on premium features
- 🌐 Web Dashboard - Full server management from the browser
- 🔐 OAuth Integration - Link Google, GitHub, Twitch, Patreon accounts
- 🗃️ Dual Database - Support for MongoDB and MariaDB backends
- 🔄 Distributed Systems - Redis-based horizontal scaling for multi-instance deployments
- 🛠️ Extension SDK - TypeScript SDK and CLI for professional extension development
# Clone the repository
git clone https://github.com/scarecr0w12/CGN-Bot.git
cd CGN-Bot
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env with your Discord bot token and database connection (MongoDB or MariaDB)
# Start the bot
node master.js- Changelog - Version history and release notes
- Lavalink Setup - Configure the Lavalink-based audio stack
- Audio Cookie Setup - Legacy
play-dlcookie setup reference - Memory Systems - AI conversation and vector memory architecture
- AI System Review - Review of AI fixes and prompt improvements
- Feature Development - Tier-gated feature implementation guide
- MariaDB Migration - Guide for migrating from MongoDB to MariaDB
- Distributed Architecture - Distributed systems architecture guide
- Extension SDK - Extension development SDK documentation
- Contributing - How to contribute to the project
- Phase 4: TypeScript Definitions - Type system implementation
- Phase 5: Performance Monitoring - Metrics and monitoring
- Phase 6: Distributed Systems - Redis-based scaling
- Phase 8: Extension SDK - Developer tooling
You can contribute by opening pull requests as long as your commits follow our eslint rules.
This code is under active development. Bug reports are welcome! Please submit them to our issue tracker.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
