From eb4e03398abe10dcbeafc308061b41bc0154b5b5 Mon Sep 17 00:00:00 2001 From: JustMaffie Date: Sun, 28 May 2017 00:17:07 +0200 Subject: [PATCH] Added commands I think --- discordbot/titanembeds/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discordbot/titanembeds/bot.py b/discordbot/titanembeds/bot.py index 6e40c64..83f8c1b 100644 --- a/discordbot/titanembeds/bot.py +++ b/discordbot/titanembeds/bot.py @@ -65,8 +65,8 @@ async def on_ready(self): print("Skipping indexing server due to no-init flag") @bot.event -async def on_message(self, message): - await self.database.push_message(message) +async def on_message(message): + await database.push_message(message) if message.server: await bot.process_commands(message)