diff options
author | 2020-08-07 14:16:06 +1000 | |
---|---|---|
committer | 2020-08-07 14:16:06 +1000 | |
commit | 518f67fe197251410ee432a9ec18b2a79e1c6b2a (patch) | |
tree | fa32840ae8e4bec8a869f2e38b7ef17afd33ab6a | |
parent | Merge pull request #1093 from python-discord/discord.py-1.4 (diff) | |
parent | Merge branch 'master' into bug/help/1074/duplicate-claim (diff) |
Merge pull request #1092 from python-discord/bug/help/1074/duplicate-claim
-rw-r--r-- | bot/cogs/help_channels.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index 1be980472..2400cd544 100644 --- a/bot/cogs/help_channels.py +++ b/bot/cogs/help_channels.py @@ -215,9 +215,6 @@ class HelpChannels(commands.Cog): log.trace("close command invoked; checking if the channel is in-use.") if ctx.channel.category == self.in_use_category: if await self.dormant_check(ctx): - - # Remove the claimant and the cooldown role - await self.help_channel_claimants.delete(ctx.channel.id) await self.remove_cooldown_role(ctx.author) # Ignore missing task when cooldown has passed but the channel still isn't dormant. @@ -551,6 +548,7 @@ class HelpChannels(commands.Cog): A caller argument is provided for metrics. """ + await self.help_channel_claimants.delete(channel.id) msg_id = await self.question_messages.pop(channel.id) try: |