From 038fa70e3eb28ebe9f24c8cc96110a8ab3bd2ab5 Mon Sep 17 00:00:00 2001 From: JustMaffie Date: Sun, 28 May 2017 00:30:14 +0200 Subject: [PATCH] Added commands I think --- discordbot/titanembeds/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discordbot/titanembeds/bot.py b/discordbot/titanembeds/bot.py index 6898077..843b42a 100644 --- a/discordbot/titanembeds/bot.py +++ b/discordbot/titanembeds/bot.py @@ -39,6 +39,7 @@ async def on_ready(): ) try: database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4") + global database except Exception: logger.error("Unable to connect to specified database!") traceback.print_exc()