Intelligent Discord AI Bot with Multi-Provider Support & Advanced Moderation
π Add to Server β’ π Self-Host Guide β’ βοΈ Configuration β’ π€ Contributing
Iris is a powerful Discord AI bot that integrates multiple AI providers (Gemini, OpenAI, Groq) with advanced conversation capabilities, intelligent moderation, and rich media processing.
- π§ Multi-AI Provider Support - Seamlessly switch between Gemini, OpenAI, and Groq
- π‘οΈ AI-Powered Moderation - Natural language command processing for server management
- π URL Context Analysis - Analyze web content directly in conversations
- π± Rich Media Processing - Image and video analysis with AI vision
- πΎ Conversation Memory - Persistent chat history with SQLite
- π Personal API Keys - Users can set their own API keys for unlimited usage
- Node.js 18.0.0 or higher
- Discord Bot Token
- AI API Key
# Clone and install
git clone https://github.com/bm-hien/Iris-Discord-AI.git
cd Iris-Discord-AI
npm install
# Configure environment
cp .env.example .env
# Edit .env with your tokens
# Start the bot
npm startEdit your .env file:
# Discord (Required)
DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_CLIENT_ID=your_bot_client_id
# AI Configuration
DEFAULT_AI_PROVIDER=gemini
DEFAULT_GEMINI_API_KEY=your_gemini_api_key
# Optional: Additional Providers
DEFAULT_OPENAI_API_KEY=your_openai_api_key
DEFAULT_GROQ_API_KEY=your_groq_api_key- Simply mention the bot or send a message to start chatting
- Use
/apikey setto configure your personal API key - Use
/model setto switch between AI models - Use
/clear-historyto reset conversation history
- "Mute @user for spamming"
- "Clear 10 messages"
- "Lock this channel"
- "Ban @user for harassment"
AI/
βββ ai.js # Main AI module
βββ functions/ # Core AI processing
β βββ generateResponse.js # AI response generation
β βββ mediaProcessor.js # Image/video processing
β βββ functionCalling.js # Discord function integration
βββ commands/ # AI command processing
βββ events/ # Database & system management
We welcome contributions! Please check our issues for ways to help.
This project is licensed under the MIT License - see LICENSE file for details.
- π€ Add Public Bot: Invite to your server
- π Documentation: Online Docs
- π Bug Reports: Create an issue
- π‘ Feature Requests: Submit suggestions
- π¬ Support: Join our Discord
- β Support Development: Buy me a coffee
Made with β€οΈ by Bmhien
Bringing AI-powered intelligence to Discord communities worldwide