forked from hypergonial/snedbot_v1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_example.py
More file actions
15 lines (14 loc) · 762 Bytes
/
config_example.py
File metadata and controls
15 lines (14 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Configuration file example for the Discord bot Sned.
The actual configuration is read from 'config.py', which must exist.
"""
config = {
"token": "oh no I leaked my token", # Bot's token
# Postgres dsn for the database, must have {db_name} when addressing the database name
"postgres_dsn": "postgres://postgres:my_password_here@1.2.3.4:5432/{db_name}",
"ipc_secret": "oh no I leaked my ipc secret", # IPC secret (optional)
"experimental": False, # Controls debugging mode
"home_guild": 123456789, # ID of guild to send debug info to (optional)
"error_logging_channel": 123456789, # Sends tracebacks of command errors here (optional)
"db_backup_channel": 123456789, # Sends daily database backup files here (optional)
}