aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/moderation/silence.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/exts/moderation/silence.py b/bot/exts/moderation/silence.py
index 616dfbefb..a3174bc5d 100644
--- a/bot/exts/moderation/silence.py
+++ b/bot/exts/moderation/silence.py
@@ -128,7 +128,8 @@ class Silence(commands.Cog):
message: str,
source_channel: TextChannel,
target_channel: TextOrVoiceChannel,
- *, alert_target: bool = False
+ *,
+ alert_target: bool = False
) -> None:
"""Helper function to send message confirmation to `source_channel`, and notification to `target_channel`."""
# Reply to invocation channel
@@ -154,7 +155,8 @@ class Silence(commands.Cog):
ctx: Context,
duration: HushDurationConverter = 10,
channel: TextOrVoiceChannel = None,
- *, kick: bool = False
+ *,
+ kick: bool = False
) -> None:
"""
Silence the current channel for `duration` minutes or `forever`.