aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/filtering.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index 2d91695f3..6c9e9a4b7 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -405,8 +405,6 @@ class Filtering(Cog, Scheduler):
await wait_until(delete_at)
await self.delete_offensive_msg(msg)
- self.cancel_task(msg['id'])
-
async def reschedule_offensive_msg_deletion(self) -> None:
"""Get all the pending message deletion from the API and reschedule them."""
await self.bot.wait_until_ready()