-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
66 lines (55 loc) · 3.07 KB
/
Copy path.env.example
File metadata and controls
66 lines (55 loc) · 3.07 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
58
59
60
61
62
63
64
65
66
# =============================================================================
# REQUIRED CONFIGURATION
# =============================================================================
# These variables are essential for the bot to function
# Discord Bot Token (REQUIRED)
TOKEN=<YOUR DISCORD BOT TOKEN>
# Database Configuration (REQUIRED)
POSTGRES_USER=<USER NAME>
POSTGRES_PASSWORD=<YOUR PASSWORD>
POSTGRES_HOST=localhost
POSTGRES_DB=coding-global-db
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}
# =============================================================================
# OPTIONAL FEATURES
# =============================================================================
# These variables enable additional bot features when configured
# GIF Features (Optional)
KLIPY_API_KEY= # Get from https://partner.klipy.com/api-keys
# AI Features (Optional)
GOOGLE_GENERATIVE_AI_API_KEY= # Get from Google AI Studio
DEEPL= # Get from DeepL API (for translation features)
AI_SUMMARY_WINDOW=50 # Messages kept verbatim before older history is compacted into a summary (0 = disable)
# Role System (Optional)
# Use exact role names (comma separated) that exist in your Discord server
STAFF_ROLES= # e.g. Admin,Owner,Moderator,Techlead
HELPER_ROLES= # e.g. Helper,Senior Helper,Expert Helper
STATUS_ROLES= # e.g. Verified,VoiceOnly,Jail
MEMBER_ROLES= # e.g. Member,Contributor,Regular
LEVEL_ROLES= # e.g. Script Kiddie!,Copy Paster!,Vibe Coder!,Intern!,Junior Dev!,Mid Dev!,Senior Dev!,Lead Dev!,Tech Lead!
# Channel Configuration (Optional)
# Use exact channel names (comma separated) that exist in your Discord server
GENERAL_CHANNELS= # e.g. general,chat,discussion
BOT_CHANNELS= # e.g. bot-commands,bot-spam
VERIFY_CHANNELS= # e.g. verify,welcome
VOICE_EVENT_CHANNELS= # e.g. voice-logs
JOIN_EVENT_CHANNELS= # e.g. join-leave-logs,member-logs
TEMPLATE_VALIDATION_CHANNELS= # e.g. community-updates
MEMBERS_COUNT_CHANNELS= # e.g. member-count,total-members
# Bot Behavior (Optional)
IS_CONSTRAINED_TO_BOT_CHANNEL=false # true = restrict commands to bot channels only
SHOULD_LOG_VOICE_EVENTS=false # true = log voice channel join/leave events
SHOULD_COUNT_MEMBERS=false # true = auto-update member count channels
SHOULD_USER_LEVEL_UP=true # false = disable user leveling system
# Admin API (Optional)
ADMIN_API_KEY= # Secret key for admin API endpoints (generate with: openssl rand -hex 32)
# Appearance (Optional)
BOT_ICON= # e.g. https://your-domain.com/bot-icon.png
# =============================================================================
# QUICK SETUP GUIDE
# =============================================================================
# 1. Fill in TOKEN and database credentials above
# 2. Create roles/channels in Discord that match the names you specify
# 3. Add role/channel names to the variables above (comma separated, no spaces around commas)
# 4. Set boolean values to true/false as needed
# 5. Leave any optional variable empty to disable that feature