-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
65 lines (50 loc) · 1.27 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# enable debugging to montior various lengths of time certain processes take
DEBUG=
DB_HOST=
DB_PORT=
DB_USER=
DB_PASS=
DB_NAME=
REDIS_HOST=
REDIS_PORT=6379
REDIS_PASS=
# redis recommends leaving this to 100
REDIS_BATCH_SIZE=100
UPDATE_INTERVAL=300000# 5 minutes
# database tables
TABLE_DEATHS=
TABLE_REVIVES=
TABLE_DOWNS=
TABLE_PLAYERS=
TABLE_SERVERS=
TABLE_MATCHES=
# date from which to show stats from
SEASON_START="1970-01-01T00:00:00Z"
# how many matches a player requires before showing up in the leaderboards
MATCHES_MINIMUM=10
# you can ignore certain layers by adding them to this comma separated list
# it uses a fuzzy search so you can just add a part of the layer name
LAYERS_TO_IGNORE=jensen,seed
# discord bot token
BOT_TOKEN=
#discord guild id
GUILD_ID=
# how many results per leaderboard page
LEADERBOARD_PAGE_SIZE=25
# optional emojis that will display in the leaderboard next to each stat. Use the following syntax <:botKd:1078865789941207120>
EMOJI_RATING=
EMOJI_MATCHES=
EMOJI_KILL=
EMOJI_DOWN=
EMOJI_KD=
EMOJI_ID=
EMOJI_REVIVE=
EMOJI_FALL=
EMOJI_DEATH=
EMOJI_TK=
SERVER_IDS=1,2,3
SERVER_LABELS='Server 1,Server 2,Server 3'
# Optional to how steam player profile avatars in the stats embed
STEAM_API_KEY=
# if you want to use sentry to collect any errors
SENTRY_DSN=