-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
23 lines (20 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
23 lines (20 loc) · 1.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
# Required (always)
DISCORD_TOKEN= # Discord bot token
DISCORD_CLIENT_ID= # Discord application client ID
# === Single-Guild Mode (default) ===
# Use this for personal deployments with one Discord server
PANEL_URL= # DiscoPanel URL (e.g., http://localhost:8080)
PANEL_USERNAME= # DiscoPanel username
PANEL_PASSWORD= # DiscoPanel password
# === Multi-Guild Mode ===
# Use this for public bots serving multiple Discord servers
# Uncomment and set MULTI_GUILD=true to enable
# MULTI_GUILD=true
# ENCRYPTION_KEY= # 32-byte hex string (generate: openssl rand -hex 32)
# Optional
STATUS_INTERVAL=30 # Status embed update interval in seconds (default: 30)
LOG_LEVEL=info # debug | info | warn | error
PANEL_REQUEST_TIMEOUT=10000 # Panel API request timeout in ms (default: 10000)
PANEL_TOKEN_REFRESH_BUFFER=300 # Re-auth this many seconds before token expiry (default: 300)
STATUS_MAX_RETRIES=3 # Max retries for failed status updates (default: 3)
STATUS_RETRY_DELAY=5000 # Delay between retries in ms (default: 5000)