diff options
| author | 2020-02-24 19:22:50 -0800 | |
|---|---|---|
| committer | 2020-03-22 15:54:38 -0700 | |
| commit | 9af7dbd0f4691918c64a28d5c3d937e81d950289 (patch) | |
| tree | f01128e4692a3c3aa953c8712ca08047522876d2 | |
| parent | HelpChannels: add missing units of time in messages (diff) | |
HelpChannels: put channels in the queue when they go dormant
| -rw-r--r-- | bot/cogs/help_channels.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index 7c9bf5e27..86cc5045d 100644 --- a/bot/cogs/help_channels.py +++ b/bot/cogs/help_channels.py @@ -324,6 +324,9 @@ class HelpChannels(Scheduler, commands.Cog): embed = discord.Embed(description=DORMANT_MSG) await channel.send(embed=embed) + log.trace(f"Pushing #{channel.name} ({channel.id}) into the channel queue.") + self.channel_queue.put_nowait(channel) + async def move_to_in_use(self, channel: discord.TextChannel) -> None: """Make a channel in-use and schedule it to be made dormant.""" log.info(f"Making #{channel.name} ({channel.id}) in-use.") |