forked from iScsc/RootPythia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
26 lines (18 loc) · 842 Bytes
/
.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
### Mode: dev or prod for run.sh and other
MODE=dev|prod
### Discord env var
# You can follow https://realpython.com/how-to-make-a-discord-bot-python/#creating-an-application to get a discord token
DISCORD_TOKEN=XXX
# The ID of the channel where the bot should send the Root-Me new solves and news
# You can follow https://turbofuture.com/internet/Discord-Channel-ID to get your channel ID
CHANNEL_ID=XXX
### Logging
# accept integer or valid strings as described in the doc: https://docs.python.org/3/library/logging.html#logging.Logger.setLevel
LOG_LEVEL=INFO
### Root-me API
# get an API Key by logging in on Root-me then go to 'my settings'
API_KEY_ROOTME=<Root-Me API key>
API_URL=https://api.www.root-me.org/
MAX_API_ATTEMPT=5
### Bot Configuration
REFRESH_DELAY= # in seconds ! (default value if not set here is 10 seconds)