forked from wrefgtzweve/a2s-discord-status-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
47 lines (32 loc) · 1.01 KB
/
.env.example
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
# Bot refresh interval in seconds
REFRESH_INTERVAL=10
# Discord bot token
API_KEY=your_discord_bot_token_here
# Discord channel ID for status updates
CHANNEL_ID=123456789012345678
# List of game servers in JSON format
SERVERS=[{"ip": "server_ip_here", "port": 27015}]
# Timeout for server queries in seconds
QUERY_TIMEOUT=5
# Database file path
DATABASE_FILE=database.db
# Maximum retry attempts for server queries
MAX_RETRIES=3
# Custom title for server status embed
CUSTOM_TITLE=🟢 Server Status
# Custom text for server status embed
CUSTOM_TEXT=**Contact an admin to join!**
# Title for leaderboard embed
LEADERBOARD_TITLE=🏆 Player Leaderboard
# Number of players to show in leaderboard
LEADERBOARD_SIZE=10
# Day of month for leaderboard reset (1-31)
MONTHLY_RESET_DAY=1
# Color for status embed (hex)
STATUS_COLOR=0x1A529A
# Color for leaderboard embed (hex)
LEADERBOARD_COLOR=0xFFD700
# URL for footer icon
FOOTER_ICON=https://example.com/icon.jpg
# Interval for kill updates in seconds
KILL_UPDATE_INTERVAL=300