aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2020-11-23 09:26:01 +0300
committerGravatar Hassan Abouelela <[email protected]>2020-11-23 09:26:01 +0300
commit02be861e90c176ae7b577829f4fc636215cdcc3c (patch)
tree493273238465edb6b25d2ddfb0e751d7ea9d304e
parentMake Voice Channel Kick Optional (diff)
Fix Failing Functions
Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r--bot/exts/moderation/silence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/silence.py b/bot/exts/moderation/silence.py
index 93a0dad98..87327e72a 100644
--- a/bot/exts/moderation/silence.py
+++ b/bot/exts/moderation/silence.py
@@ -223,7 +223,7 @@ class Silence(commands.Cog):
await self._force_voice_sync(channel)
await self.send_message(MSG_UNSILENCE_SUCCESS, msg_channel, channel, True)
- async def _set_silence_overwrites(self, channel: Union[TextChannel, VoiceChannel], kick: bool) -> bool:
+ async def _set_silence_overwrites(self, channel: Union[TextChannel, VoiceChannel], kick: bool = False) -> bool:
"""Set silence permission overwrites for `channel` and return True if successful."""
if isinstance(channel, TextChannel):
overwrite = channel.overwrites_for(self._verified_msg_role)