mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Remove async from delete message typo
This commit is contained in:
parent
350b7ab65c
commit
62ae4825ca
@ -89,7 +89,7 @@ class DatabaseInterface(object):
|
||||
async def delete_message(self, message):
|
||||
self.bot.loop.run_in_executor(None, self._delete_message, message)
|
||||
|
||||
async def _delete_message(self, message):
|
||||
def _delete_message(self, message):
|
||||
if message.guild:
|
||||
with self.get_session() as session:
|
||||
msg = session.query(Messages) \
|
||||
|
Loading…
Reference in New Issue
Block a user