From 493f6d24c674f94f7aeb833a8995d849709b4455 Mon Sep 17 00:00:00 2001 From: JustMaffie Date: Sun, 28 May 2017 00:24:36 +0200 Subject: [PATCH] Added commands I think --- discordbot/titanembeds/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot/titanembeds/bot.py b/discordbot/titanembeds/bot.py index e80d03a..7b9f32d 100644 --- a/discordbot/titanembeds/bot.py +++ b/discordbot/titanembeds/bot.py @@ -38,7 +38,7 @@ async def on_ready(self): game=discord.Game(name="Embed your Discord server! Visit https://TitanEmbeds.tk/"), status=discord.Status.online ) try: - database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4") + await database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4") except Exception: self.logger.error("Unable to connect to specified database!") traceback.print_exc()