aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shirayuki Nekomata <[email protected]>2020-04-14 16:42:01 +0700
committerGravatar GitHub <[email protected]>2020-04-14 16:42:01 +0700
commit9a6ea1fd04cf4ebcecace6e873500fcd9438a381 (patch)
treef5d02a745cb3205cd82618fee1b67e4419bd8323
parent[stat] Tag statistic was using the user input as the series name, not the res... (diff)
parentRevert deletion of !dormant invocation messages (diff)
Merge pull request #881 from python-discord/help-channels-keep-dormant-invocation
Reverse deletion of `!dormant` invocation messages
-rw-r--r--bot/cogs/help_channels.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index 36ad6a7a3..692bb234c 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -224,10 +224,6 @@ class HelpChannels(Scheduler, commands.Cog):
with suppress(KeyError):
del self.help_channel_claimants[ctx.channel]
- with suppress(discord.errors.NotFound):
- log.trace("Deleting dormant invokation message.")
- await ctx.message.delete()
-
with suppress(discord.errors.HTTPException, discord.errors.NotFound):
await self.reset_claimant_send_permission(ctx.channel)