aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-06-27 16:28:19 -0700
committerGravatar MarkKoz <[email protected]>2020-06-27 16:28:19 -0700
commit201895180ffbe88c01e4dbc40dd9cd6c043e2be7 (patch)
tree13a1e983f46ee131f86e5b215516c746fee07fe5
parentCode block: clarify get_instructions's docstring (diff)
HelpChannels: fix is_in_category call
It was still using it like it was a method of the class rather than calling it from the channel utils module.
-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 927d05da8..f0945b83c 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -715,7 +715,7 @@ class HelpChannels(Scheduler, commands.Cog):
The new time for the dormant task is configured with `HelpChannels.deleted_idle_minutes`.
"""
- if not self.is_in_category(msg.channel, constants.Categories.help_in_use):
+ if not channel_utils.is_in_category(msg.channel, constants.Categories.help_in_use):
return
if not await self.is_empty(msg.channel):