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()