aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Slushs <[email protected]>2021-06-12 13:38:27 -0400
committerGravatar Slushs <[email protected]>2021-06-12 13:38:27 -0400
commit4b73cc28d4d2048580e5b90dd8044c46a1e04979 (patch)
tree7cb7310ab4c1dc53de830dae5df5cc79b3effa0c
parentMerge remote-tracking branch 'origin/jake/helpdm' into jake/helpdm (diff)
Add bool converter to allow a variety of inputs
-rw-r--r--bot/exts/help_channels/_cog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py
index 9352689ab..b8296fa76 100644
--- a/bot/exts/help_channels/_cog.py
+++ b/bot/exts/help_channels/_cog.py
@@ -417,10 +417,10 @@ class HelpChannels(commands.Cog):
return await _unclaim_channel(channel, claimant_id, closed_on)
async def _unclaim_channel(
- self,
- channel: discord.TextChannel,
- claimant_id: int,
- closed_on: _channel.ClosingReason
+ self,
+ channel: discord.TextChannel,
+ claimant_id: int,
+ closed_on: _channel.ClosingReason
) -> None:
"""Actual implementation of `unclaim_channel`. See that for full documentation."""
await _caches.claimants.delete(channel.id)