-
Notifications
You must be signed in to change notification settings - Fork 20
/
.env.example
50 lines (40 loc) · 1.92 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
#######################################################################################
############ These settings are only meant to be changed by the developer. ############
#######################################################################################
# MongoDB config.
MONGODB_URI="mongodb://mongodb:27017/"
CHALLENGE_COLLECTION="challenge"
CTF_COLLECTION="ctf"
DBNAME="eruditus"
# Used to send feature requests and bug reports to the developer.
DEVELOPER_USER_ID="305076601253789697"
# CTFtime settings.
DATE_FORMAT="%a, %d %B %Y, %H:%M UTC"
CTFTIME_URL="https://ctftime.org"
# CTF Write-ups Search Index (used by the `/search` command).
# This one is currently down, feel free to deploy your own: github.com:hfz1337/CTF-WSI
WRITEUP_INDEX_API="http://ctf-api.hfz-1337.ninja"
# Discord messages can't exceed a certain length.
MAX_CONTENT_SIZE="2000"
#######################################################################################
#################################### CHANGE THESE #####################################
#######################################################################################
GUILD_ID="<GUILD_ID>"
DISCORD_TOKEN="<DISCORD_TOKEN>"
TEAM_NAME="<TEAM_NAME>"
TEAM_EMAIL="<TEAM_EMAIL>"
MIN_PLAYERS="<MIN_PLAYERS>"
# Channel where the bot copies important messages (links, notes, etc.).
BOOKMARK_CHANNEL="<CHANNEL_ID>"
# (Optional) Text channel ID where the bot sends reminders.
# If this is not set, it defaults to #general, or the first world readable text channel
# it finds.
REMINDER_CHANNEL=""
# (Optional) CTFtime team ID that would be used for activity tracking.
CTFTIME_TEAM_ID=""
# (Optional) CTFtime activity tracking channel ID.
# If this variable isn't set, the bot would just disable activity-tracking features
CTFTIME_TRACKING_CHANNEL=""
# (Optional) CTFtime leaderboard tracking channel ID.
# If this variable isn't set, the bot will not monitor leaderboard changes.
CTFTIME_LEADERBOARD_CHANNEL=""