Remove async from delete message typo

This commit is contained in:
Jeremy Zhang 2018-03-31 04:03:49 +00:00
parent 350b7ab65c
commit 62ae4825ca

View File

@ -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) \