aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-04-09 15:22:55 +0200
committerGravatar Numerlor <[email protected]>2020-04-09 20:28:09 +0200
commit93a511da2be49305bc27fcce18f10f9758418dc5 (patch)
tree86a5e3bf20f8da92ff943cf3854b41ead872f930
parentMove message deletion up. (diff)
Move permissions reset up.
-rw-r--r--bot/cogs/help_channels.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index 8dca2ede0..f53f7a7ba 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -214,9 +214,10 @@ class HelpChannels(Scheduler, commands.Cog):
log.trace("Deleting dormant invokation message.")
await ctx.message.delete()
+ await self.reset_claimant_send_permission(ctx.channel)
+
self.cancel_task(ctx.channel.id)
await self.move_to_dormant(ctx.channel)
- await self.reset_claimant_send_permission(ctx.channel)
else:
log.debug(f"{ctx.author} invoked command 'dormant' outside an in-use help channel")