forked from harshendram/Advanced-Discord-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (48 loc) · 2.22 KB
/
.env.example
File metadata and controls
57 lines (48 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 🤖 Advanced Discord Open Source Bot - Environment Configuration
# Copy this file to .env and fill in your actual values
# ==============================================
# 🔑 Discord Bot Configuration
# ==============================================
# Your Discord bot token from https://discord.com/developers/applications
DISCORD_TOKEN=your_bot_token_here
# Your Discord application client ID
CLIENT_ID=your_bot_client_id_here
# Optional: Guild ID for testing (removes the need to wait for global command propagation)
# Leave empty for global commands in production
GUILD_ID=your_test_guild_id_here
# ==============================================
# 🗄️ Database Configuration
# ==============================================
# MongoDB connection string - Get free tier from https://www.mongodb.com/atlas
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/discord-bot?retryWrites=true&w=majority
# ==============================================
# 🤖 AI Configuration
# ==============================================
# Google Gemini API key from https://makersuite.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# ==============================================
# 🌐 Optional: Deployment Configuration
# ==============================================
# Environment mode
NODE_ENV=development
# Port for health checks (useful for Render, Railway, etc.)
PORT=3000
# ==============================================
# 📊 Optional: Feature Toggles
# ==============================================
# Enable/disable specific features (true/false)
ENABLE_AI_ASSISTANT=true
ENABLE_POINTS_SYSTEM=true
ENABLE_XP_SYSTEM=true
ENABLE_TICKET_SYSTEM=true
ENABLE_MODERATION=true
# ==============================================
# 🚀 Quick Setup Guide:
# ==============================================
# 1. Create Discord Application: https://discord.com/developers/applications
# 2. Create MongoDB Database: https://www.mongodb.com/atlas (free tier)
# 3. Get Gemini API Key: https://makersuite.google.com/app/apikey
# 4. Copy this file to .env and fill in your values
# 5. Run: npm install && node deploy-commands.js && npm start
# 6. Invite bot to your server with proper permissions
# ==============================================