From 81fd7979dbd1a74328511c556388a080dc3e7d16 Mon Sep 17 00:00:00 2001 From: JustMaffie Date: Sun, 28 May 2017 00:00:21 +0200 Subject: [PATCH] Added commands I think --- discordbot/titanembeds/bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/discordbot/titanembeds/bot.py b/discordbot/titanembeds/bot.py index 9b8db8a..3294a76 100644 --- a/discordbot/titanembeds/bot.py +++ b/discordbot/titanembeds/bot.py @@ -11,8 +11,7 @@ logging.getLogger('TitanBot') logging.getLogger('sqlalchemy') bot = commands.Bot(command_prefix=config['command-prefix']) -aiosession = aiohttp.ClientSession(loop=bot.loop) -bot.http.user_agent += ' TitanEmbeds-Bot' +bot.http.user_agent += ' TitanEmbeds-Bot' database = DatabaseInterface(bot) def run(self):