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)