forked from ntoskrnl4/arbys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
41 lines (33 loc) · 1.32 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
# Configuration file for the bot, settings such as logging options, whatever
# The bot's token is knot stored here, it is actually stored in a "token" variable in a file named "key.py".
# log settings, required for use. levels go in order of increasing verbosity
# Absolutely nothing (disable logging there): -1
# Fatal: 0
# Critical: 1
# Error: 2
# Warning: 3
# Info: 4
# Messages: 5
# Debug: 6
terminal_loglevel = 6
exc_to_stderr = True # log warnings and above to stderr instead of stdout
file_loglevel = 6
logfile = "bot.log" # log file names will have the year and month prepended to them, for example: 2018-06-bot.log
logfile_encoding = "UTF-8" # UTF-8 recommended because emojis
# log every single message that runs through the bot. For high-traffic bots this should be False (default: True)
log_messages = True
# Bot's default online status when it logs in. Recommended dnd to indicate it is online but still loading.
# Valid values are "online", "idle", "dnd" (default) or "do_not_disturb", and "invisible".
boot_status = "dnd"
# All the prefixes the bot will use. The first one in this list will be considered the default.
prefixes = [
"cqdx ",
"! ",
"!",
"<@398599948557615130> ",
"<@!398599948557615130> ",
]
# Enables extra checks and more debug info about the bot
debug = True
# A name for your bot
bot_name = "Arby's"