diff options
| author | 2020-10-18 18:58:43 -0700 | |
|---|---|---|
| committer | 2020-11-20 15:57:09 -0800 | |
| commit | b9593039a1663c983b84970dc8832900ce9e4cbb (patch) | |
| tree | d91651c6b86c91253caa97a790a5270c8c0c1884 | |
| parent | Help channels: move cooldown/role functions to cooldown module (diff) | |
Help channels: remove obsolete function
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/help_channels/_cog.py | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py index 169238937..5c4a0d972 100644 --- a/bot/exts/help_channels/_cog.py +++ b/bot/exts/help_channels/_cog.py @@ -280,11 +280,6 @@ class HelpChannels(commands.Cog):          self.bot.stats.gauge("help.total.available", total_available)          self.bot.stats.gauge("help.total.dormant", total_dormant) -    @staticmethod -    def is_claimant(member: discord.Member) -> bool: -        """Return True if `member` has the 'Help Cooldown' role.""" -        return any(constants.Roles.help_cooldown == role.id for role in member.roles) -      async def move_idle_channel(self, channel: discord.TextChannel, has_task: bool = True) -> None:          """          Make the `channel` dormant if idle or schedule the move if still active. | 
