diff options
| author | 2020-04-06 00:15:07 +0200 | |
|---|---|---|
| committer | 2020-04-09 20:24:40 +0200 | |
| commit | c608963a0672b8396190f521366799d649a8cb90 (patch) | |
| tree | 0479291d96a822097d7e36ea04b022d39f11c8c2 | |
| parent | Merge pull request #873 from python-discord/mitigate-permission-unsynchroniza... (diff) | |
Remove dormant invokation message after move.
| -rw-r--r-- | bot/cogs/help_channels.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index 697a4d3b7..75b61f6cb 100644 --- a/bot/cogs/help_channels.py +++ b/bot/cogs/help_channels.py @@ -196,6 +196,7 @@ class HelpChannels(Scheduler, commands.Cog): if ctx.channel.category == self.in_use_category: self.cancel_task(ctx.channel.id) await self.move_to_dormant(ctx.channel) + await ctx.message.delete() else: log.debug(f"{ctx.author} invoked command 'dormant' outside an in-use help channel") |