mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-27 07:27:03 +01:00
Added commands I think
This commit is contained in:
parent
a0a844aa5a
commit
eb4e03398a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user