aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-03-25 20:29:46 +0000
committerGravatar Chris <[email protected]>2021-03-25 20:29:46 +0000
commitb8eef953511a283da912abdd3b6c673788f3652d (patch)
treedce1dc787b1ee7dfe3a162a5408f8b8aa11f2b8e
parentCheck for close on command explictly. (diff)
Schedule channels just opened using claimant configured idle time
-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 7dde204d0..bac17fb2d 100644
--- a/bot/exts/help_channels/_cog.py
+++ b/bot/exts/help_channels/_cog.py
@@ -408,7 +408,7 @@ class HelpChannels(commands.Cog):
category_id=constants.Categories.help_in_use,
)
- timeout = constants.HelpChannels.idle_minutes_others * 60
+ timeout = constants.HelpChannels.idle_minutes_claimant * 60
log.trace(f"Scheduling #{channel} ({channel.id}) to become dormant in {timeout} sec.")
self.scheduler.schedule_later(timeout, channel.id, self.move_idle_channel(channel))