diff options
| author | 2020-04-06 02:03:13 +0200 | |
|---|---|---|
| committer | 2020-04-09 20:24:40 +0200 | |
| commit | c6355f67192e247f6b207cb0e18b2ff80d5b710f (patch) | |
| tree | 766846531337e1e41da400ab43966871e3e13a55 | |
| parent | Reset cooldown after channel is made dormant. (diff) | |
Extend docstrings to include new behaviour.
| -rw-r--r-- | bot/cogs/help_channels.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index 7bfb33875..912ce4f44 100644 --- a/bot/cogs/help_channels.py +++ b/bot/cogs/help_channels.py @@ -199,7 +199,13 @@ class HelpChannels(Scheduler, commands.Cog): @commands.command(name="dormant", aliases=["close"], enabled=False) async def dormant_command(self, ctx: commands.Context) -> None: - """Make the current in-use help channel dormant.""" + """ + Make the current in-use help channel dormant. + + Make the channel dormant if the user passes the `dormant_check`, + delete the message that invoked this, + and reset the send permissions cooldown for the user who started the session. + """ log.trace("dormant command invoked; checking if the channel is in-use.") if ctx.channel.category == self.in_use_category: if await self.dormant_check(ctx): |