-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
53 lines (53 loc) · 1.16 KB
/
config.py
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
PREFIX = '$'
PIC_PATH = 'pics'
RES_PATH = 'res'
LOGS_PATH = 'logs'
SV_PATH = 'servers'
TEMP_PATH = 'temp'
COGS_PATH = 'cogs'
AI_PATH = 'ai'
BUFFERED_MP3_FILENAME = 'yt_audio.mp3'
RPI_PATH = 'rbp'
BAN_EMOJIS = 'no'
REACT_AT_RANDOM = 'no'
CHESS_OPTIONS = {
'starting_elo': 1200,
'elo_change_constant': 50,
'time_modes': {
"bullet": 3,
"blitz": 10,
"quick": 20,
"standard": 60,
"long": 120,
}
}
YTDL_OPTIONS = {
'format': 'bestaudio/best',
'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s',
'restrictfilenames': True,
'noplaylist': True,
'nocheckcertificate': True,
'ignoreerrors': False,
'logtostderr': False,
'quiet': True,
'no_warnings': True,
'default_search': 'auto',
'source_address': '0.0.0.0' # bind to ipv4 since ipv6 addresses cause issues sometimes
}
REACT_TO_MESSAGE_CONTENT = [
"geodezja",
"geodezji",
"geodeci",
"gik",
"a co to kurwa jest",
"a co to kurwa jest?"
"a co to kurwa jest?!",
"a co to kurwa jest!?"
]
FFMPEG_OPTIONS = {
'options': '-vn'
}
WIKI_OPTIONS = {
'sentences': '5',
'chars': '1500'
}