diff options
| author | 2020-02-24 20:14:02 -0800 | |
|---|---|---|
| committer | 2020-03-22 15:54:38 -0700 | |
| commit | ffd3bce5e5af8acd9d681da537fe27ec94201818 (patch) | |
| tree | 3ca917dd855d2b4417539c8a74e3ba1e74dfbcd0 | |
| parent | HelpChannels: compare contents to confirm message is a dormant message (diff) | |
HelpChannels: use >= instead of > to determine if timed out
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/help_channels.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index 010acfb34..231c34d7b 100644 --- a/bot/cogs/help_channels.py +++ b/bot/cogs/help_channels.py @@ -287,7 +287,7 @@ class HelpChannels(Scheduler, commands.Cog):          idle_seconds = constants.HelpChannels.idle_minutes * 60          time_elapsed = await self.get_idle_time(channel) -        if time_elapsed is None or time_elapsed > idle_seconds: +        if time_elapsed is None or time_elapsed >= idle_seconds:              log.info(                  f"#{channel.name} ({channel.id}) is idle longer than {idle_seconds} seconds "                  f"and will be made dormant."  |