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
- 🗃️ MariaDB Data Layer - MariaDB-backed storage with a MongoDB-style query interface
- 🔄 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 MariaDB connection settings
# 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
- Distributed Architecture - Distributed systems architecture guide
- API Documentation - API and integration reference
- Command Reference - Command and dashboard documentation
- Extension Development - Build and ship custom extensions
- Extension SDK - Extension development SDK documentation
- Contributing - How to contribute to the project
- Documentation Summary - Best entry points by topic
- Breaking Changes - Migration notes and compatibility changes
- Architectural Review - Current architecture snapshot and risks
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.
