aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-04-14 11:04:55 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-04-14 11:04:55 +0200
commitea81f3b23192cf0840144cecfb2ca721c89a34fe (patch)
treef5d02a745cb3205cd82618fee1b67e4419bd8323
parent[stat] Tag statistic was using the user input as the series name, not the res... (diff)
Revert deletion of !dormant invocation messages
PR #868 introduced the automatic deletion of the message that issued the `!dormant` command. The idea behind this was that moving the channel to the dormant category makes it obvious that a channel has gone dormant and the message would only serve as visual clutter. However, removing the command invocation also means that it's less obvious why a channel was moved to the dormant category. As the message gets deleted almost immediately, you have to be actively watching the channel to know that the command was issued and who issued it. This has already caused some confusion where helping members where left wondering why a channel suddenly went dormant while they felt that the conversation was still ongoing. To improve the user experience, this commit removes the deletions of the command 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)