diff options
author | 2020-08-05 17:27:08 +0200 | |
---|---|---|
committer | 2020-08-05 17:27:08 +0200 | |
commit | 5a7ca92cf5d5ae7c7d4aa7ba086237586832af1a (patch) | |
tree | 65a81a2ff4ff1a59ca79a05fb1360768c7d2b38b | |
parent | Merge pull request #1089 from python-discord/bug/help/1074/duplicate-claim (diff) |
Revert "HelpChannels: use more reliable check for claimed channel"
This reverts commit 59c62162
-rw-r--r-- | bot/cogs/help_channels.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index 975043df9..1be980472 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 await self.help_channel_claimants.contains(channel.id): + if not self.is_in_category(channel, constants.Categories.help_available): log.debug( f"Message {message.id} will not make #{channel} ({channel.id}) in-use " f"because another message in the channel already triggered that." |