From 62ae4825ca205413a17da15ef798dbb8aacf8389 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sat, 31 Mar 2018 04:03:49 +0000 Subject: [PATCH] Remove async from delete message typo --- discordbot/titanembeds/database/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot/titanembeds/database/__init__.py b/discordbot/titanembeds/database/__init__.py index b190228..76a6e31 100644 --- a/discordbot/titanembeds/database/__init__.py +++ b/discordbot/titanembeds/database/__init__.py @@ -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) \