aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-29 10:18:08 -0800
committerGravatar MarkKoz <[email protected]>2020-03-22 15:54:42 -0700
commit12eac1690e310b87be32295858b12410276ff153 (patch)
tree6930cd9d1650efd9924b1554287b070e8c4d5e09
parentScheduler: fix incorrect task id in error log (diff)
HelpChannels: fix task cancelling itself
-rw-r--r--bot/cogs/help_channels.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index dfc9e0119..0e3b1e893 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -569,8 +569,6 @@ class HelpChannels(Scheduler, commands.Cog):
# The parent task (_scheduled_task) will still get cancelled.
await asyncio.shield(self.move_idle_channel(data.channel))
- self.cancel_task(data.channel.id)
-
def setup(bot: Bot) -> None:
"""Load the HelpChannels cog."""