aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-08-05 16:58:27 +0200
committerGravatar GitHub <[email protected]>2020-08-05 16:58:27 +0200
commitaa8110a4a2a742637e22ada582a9ed5e542b53b1 (patch)
treeeb9cdc93183bf48d81ea69f03321523365c91e31
parentRevert "Disabled burst_shared filter temporarily" (diff)
parentHelpChannels: use more reliable check for claimed channel (diff)
Merge pull request #1089 from python-discord/bug/help/1074/duplicate-claim
HelpChannels: use more reliable check for claimed channel
-rw-r--r--bot/cogs/help_channels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index 1be980472..975043df9 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -694,7 +694,7 @@ class HelpChannels(commands.Cog):
async with self.on_message_lock:
log.trace(f"on_message lock acquired for {message.id}.")
- if not self.is_in_category(channel, constants.Categories.help_available):
+ if await self.help_channel_claimants.contains(channel.id):
log.debug(
f"Message {message.id} will not make #{channel} ({channel.id}) in-use "
f"because another message in the channel already triggered that."