aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2020-11-24 11:55:30 +0300
committerGravatar Hassan Abouelela <[email protected]>2020-11-24 11:55:30 +0300
commitb4e65a7b2578fe34296ed302c1ddba39df11bbd4 (patch)
tree4d6d4e75cf6571865e2095aa666a15e65ee85540
parentRefractors For Style Guidelines (diff)
Fixes Voice Channel Access
A typo caused the function to return the text channel for `code/help 1`, when it is meant to access `code/help 2`. 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 4d62588a1..62f3ede73 100644
--- a/bot/exts/moderation/silence.py
+++ b/bot/exts/moderation/silence.py
@@ -109,7 +109,7 @@ class Silence(commands.Cog):
channels = {
"off-topic": Channels.voice_chat,
"code/help 1": Channels.code_help_voice,
- "code/help 2": Channels.code_help_voice,
+ "code/help 2": Channels.code_help_voice_2,
"admin": Channels.admins_voice,
"staff": Channels.staff_voice
}