diff options
author | 2021-05-10 19:54:38 +0300 | |
---|---|---|
committer | 2021-05-10 19:54:38 +0300 | |
commit | c896414b1669ce63e747df292b96e0a23595140b (patch) | |
tree | e0681992eeb0818a6463eb4bdb75ba5e48566292 | |
parent | Merge remote-tracking branch 'fork/voicechannel-mute' into voicechannel-mute (diff) |
Fixes Function Signature Formatting
Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r-- | bot/exts/moderation/silence.py | 6 |
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`. |