We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6323a65 commit bcf0400Copy full SHA for bcf0400
config.py
@@ -64,14 +64,7 @@
64
BOT_EXTRA_STORAGE_PLUGINS_DIR = BOT_ROOT_DIR + "/storages"
65
66
STORAGE = 'SQL'
67
-STORAGE_CONFIG = {
68
- 'data_url': 'mysql+pymysql://{}:{}@{}/{}?chartset=utf8mb4'.format(
69
- os.environ(DB_USERNAME),
70
- os.environ(DB_PASSWORD),
71
- os.environ(DB_HOST),
72
- os.environ(DB_NAME)
73
- ),
74
-}
+STORAGE_CONFIG = { 'data_url': os.environ["DATABASE_URL"] }
75
76
# The location where all of Err's data should be stored. Make sure to set
77
# this to a directory that is writable by the user running the bot.
0 commit comments