Added commands I think

This commit is contained in:
JustMaffie 2017-05-28 00:30:14 +02:00
parent bb13c79e75
commit 038fa70e3e

View File

@ -39,6 +39,7 @@ async def on_ready():
) )
try: try:
database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4") database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4")
global database
except Exception: except Exception:
logger.error("Unable to connect to specified database!") logger.error("Unable to connect to specified database!")
traceback.print_exc() traceback.print_exc()