diff options
| author | 2021-03-24 19:25:58 +0000 | |
|---|---|---|
| committer | 2021-03-24 19:25:58 +0000 | |
| commit | 238142855b1a4fc0f88aed5c897b94fcf5a7f53a (patch) | |
| tree | d88097168db1ca2ccdb19a916097cc2287c76562 | |
| parent | Use fallback behaviour during cog init (diff) | |
Use claiment idle time as default idle minutes.
| -rw-r--r-- | bot/exts/help_channels/_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/help_channels/_channel.py b/bot/exts/help_channels/_channel.py index 029f55217..9fbeeff17 100644 --- a/bot/exts/help_channels/_channel.py +++ b/bot/exts/help_channels/_channel.py @@ -34,7 +34,7 @@ async def get_closing_time(channel: discord.TextChannel, init_done: bool) -> t.T if is_empty: idle_minutes = constants.HelpChannels.deleted_idle_minutes else: - idle_minutes = constants.HelpChannels.idle_minutes_others + idle_minutes = constants.HelpChannels.idle_minutes_claimant non_claimant_last_message_time = await _caches.non_claimant_last_message_times.get(channel.id) claimant_last_message_time = await _caches.claimant_last_message_times.get(channel.id) |