# Discord Bot Configuration (Required unless HTTP_ONLY=true)
DISCORD_TOKEN=your_discord_bot_token_here
DISCORD_GUILD_ID=your_default_guild_id_here
# HTTP Server Configuration (Optional - for HTTP mode)
# MCP_HTTP_PORT=3001
# PORT=3001
# HTTP-Only Mode (Optional - disables Discord bot connection)
# Set to 'true' to run as API-only server without Discord bot
# Useful for load balancing where only one instance needs the bot connection
# HTTP_ONLY=true
# CORS Configuration (Optional - for HTTP mode)
# CORS_ORIGINS=http://localhost:3000,https://yourdomain.com
# CORS_ALLOW_ALL=true
# Logging Configuration (Optional)
# ENABLE_LOGGING=true
# LOG_LEVEL=info
# Rate Limiting & Retry Configuration (Optional)
# RATE_LIMIT_PROTECTION=true
# MAX_RETRIES=3
# RETRY_DELAY=1000
# TIMEOUT=30000
# Action Filtering (Optional - comma-separated)
# ALLOWED_ACTIONS=sendMessage,readMessages,getServerInfo
# DENIED_ACTIONS=banMember,kickMember
# Bot Notifications (Optional)
# Channel ID to receive startup/shutdown notifications (preferred)
BOT_NOTIFY_CHANNEL_ID=your_channel_id_here
# Fallback: User ID to receive DM notifications if no channel configured
# BOT_OWNER_ID=your_discord_user_id_here
# Creator/Owner Configuration
# The bot creator's Discord user ID - has priority override for voice commands
# When creator uses !lockvoice, only they can control the bot until !unlockvoice
BOT_CREATOR_ID=your_discord_user_id_here
# Creator's display name (used in AI responses when asked about the creator)
BOT_CREATOR_NAME=DawnReaver
# ============================================
# AI Features - 11 FREE Providers!
# ============================================
# The bot tries each configured provider in order until one works.
# Configure as many as you want for MILLIONS of free tokens!
#
# TOTAL FREE TOKENS (if ALL configured):
# ----------------------------------------
# DeepSeek: 500K tokens/day
# Google: 1M tokens/day
# Groq: 14.4K tokens/day
# Cerebras: 1M tokens/day
# SambaNova: Free tier
# Together: $1 free credit
# Mistral: €5 free credit
# Cohere: 1000 req/month
# HuggingFace: 1000 req/day
# Cloudflare: 10K tokens/day
# ----------------------------------------
# COMBINED: ~2.5M+ tokens/day FREE!
#
# TIP: Have your clanmates each sign up for different providers
# and share keys - 10 people = 25M+ tokens/day!
# 1. DeepSeek - BEST QUALITY (500K tokens/day FREE)
# Sign up: https://platform.deepseek.com
# Get key: https://platform.deepseek.com/api_keys
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# 2. Google AI / Gemini - HIGHEST LIMIT (1M tokens/day FREE)
# Sign up: https://aistudio.google.com
# Get key: https://aistudio.google.com/app/apikey
# GOOGLE_AI_KEY=your_google_ai_key_here
# 3. Groq - FASTEST (14.4K tokens/day FREE, 300+ tokens/sec!)
# Sign up: https://console.groq.com
# Get key: https://console.groq.com/keys
# GROQ_API_KEY=your_groq_api_key_here
# 4. Cerebras - VERY FAST (1M tokens/day FREE)
# Sign up: https://cloud.cerebras.ai
# Get key: https://cloud.cerebras.ai/platform
# CEREBRAS_API_KEY=your_cerebras_api_key_here
# 5. SambaNova - FAST (Free tier)
# Sign up: https://cloud.sambanova.ai
# Get key: https://cloud.sambanova.ai/apis
# SAMBANOVA_API_KEY=your_sambanova_api_key_here
# 6. Together AI - GOOD MODELS ($1 free credit)
# Sign up: https://api.together.xyz
# Get key: https://api.together.xyz/settings/api-keys
# TOGETHER_API_KEY=your_together_api_key_here
# 7. Mistral - GOOD QUALITY (€5 free credit)
# Sign up: https://console.mistral.ai
# Get key: https://console.mistral.ai/api-keys
# MISTRAL_API_KEY=your_mistral_api_key_here
# 8. Cohere - BACKUP (1000 requests/month FREE)
# Sign up: https://dashboard.cohere.com
# Get key: https://dashboard.cohere.com/api-keys
# COHERE_API_KEY=your_cohere_api_key_here
# 9. HuggingFace - OPEN SOURCE (1000 requests/day FREE)
# Sign up: https://huggingface.co/join
# Get key: https://huggingface.co/settings/tokens
# HUGGINGFACE_API_KEY=your_huggingface_api_key_here
# 10. Cloudflare Workers AI - (10K tokens/day FREE)
# Sign up: https://dash.cloudflare.com
# Get key: https://dash.cloudflare.com/profile/api-tokens
# Also need your Account ID from the dashboard
# CLOUDFLARE_AI_TOKEN=your_cloudflare_token_here
# CLOUDFLARE_ACCOUNT_ID=your_account_id_here
# 11. OpenRouter - LEGACY FALLBACK (may have hidden costs)
# Sign up: https://openrouter.ai
# Get key: https://openrouter.ai/keys
# OPENROUTER_API_KEY=your_openrouter_api_key_here