aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2025-01-18 22:10:54 +0000
committerGravatar Chris Lovering <[email protected]>2025-01-18 22:10:54 +0000
commitc642d3d2687b4b7dc35076630c8ab7cc1264fef6 (patch)
treea0a95bcc632eb0251a284f48fdffb54c79bd952e
parentEnsure every path to close a help channel cancels scheduled closes (diff)
Add missing arg in help post archive call
-rw-r--r--bot/exts/help_channels/_cog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py
index 1f00f374b..9db66bb39 100644
--- a/bot/exts/help_channels/_cog.py
+++ b/bot/exts/help_channels/_cog.py
@@ -125,7 +125,7 @@ class HelpForum(commands.Cog):
if after.parent_id != self.help_forum_channel.id:
return
if not before.archived and after.archived:
- await _channel.help_post_archived(after)
+ await _channel.help_post_archived(after, self.scheduler)
if after.id in self.scheduler:
self.scheduler.cancel(after.id)