forked from BTE-Germany/EventBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.example.env
More file actions
41 lines (31 loc) · 1.32 KB
/
.example.env
File metadata and controls
41 lines (31 loc) · 1.32 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
BOT_TOKEN=
DATABASE_URL="mysql://user:password@host.com:3306/database"
# Clear all commands on startup (set to true to clear, then set back to false)
CLEAR_COMMANDS=false
# Main server (where judge channel is located and where staff commands are registered)
MAIN_GUILD_ID=
# Judge channel (centralized - only on one server)
JUDGE_CHANNEL=
PING_ROLE=
# Server configurations (JSON format)
# Each server has its own submission channel and leaderboard
# Format: {"GUILD_ID": {"submission": "CHANNEL_ID", "leaderboard_channel": "CHANNEL_ID", "leaderboard_message": "MESSAGE_ID"}}
SERVERS_CONFIG={"123456789":"{"submission":"987654321","leaderboard_channel":"111111111","leaderboard_message":"222222222"}"}
# Azure Storage for images
AZURE_STORAGE_CONNECTION_STRING=""
CDN_URL="https://domain.com"
CONTAINER_NAME=""
# Event info
EVENT_NAME=""
EVENT_IMG="https://domain.com/logo.gif"
# API
PORT=6969
WEBHOOK_URL="https://domain.com/webhook"
# Points multiplier for foreign builds (e.g., 1.5 = 150%, 2.0 = 200%)
FOREIGN_BUILD_FACTOR=1.5
# Team Guild IDs (used by config/teams.js)
# Update the guild_ids in config/teams.js with your actual server IDs
# Terms of Service, Impressum, and Privacy Policy (for registration)
TOS_URL="https://example.com/terms"
IMPRESSUM_URL="https://example.com/impressum"
PRIVACY_POLICY_URL="https://example.com/privacy"