mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +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):
|
async def delete_message(self, message):
|
||||||
self.bot.loop.run_in_executor(None, self._delete_message, 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:
|
if message.guild:
|
||||||
with self.get_session() as session:
|
with self.get_session() as session:
|
||||||
msg = session.query(Messages) \
|
msg = session.query(Messages) \
|
||||||
|
Loading…
Reference in New Issue
Block a user