-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.py
48 lines (37 loc) · 1.59 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
# Configuration file for the bot, settings such as logging options, whatever
# 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 = 5
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. Should usually be 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.
# no_bpid_prefix will disable the bot adding its own process ID should it be enabled.
no_bpid_prefix = False
prefixes = [
"cqdx ",
"c!",
]
# A name for your bot
bot_name = "Arby's"
# Size of the bot's internal message cache. It may be sometimes useful to use the cache so
# an option is given here to make it bigger. The default cache size in discord.py is 5000
message_cache_size = 50000
# ================
# Any other options specific to different instances of the framework should go down here.
# ================
# Used in modules/exit.py
shutdown_user = 288438228959363073