aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py1
-rw-r--r--bot/exts/utils/snekbox.py2
-rw-r--r--config-default.yml1
3 files changed, 3 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index c710e2dff..d3794d173 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -391,6 +391,7 @@ class Channels(metaclass=YAMLGetter):
big_brother_logs: int
bot_commands: int
change_log: int
+ code_help_voice: int
cooldown: int
defcon: int
dev_contrib: int
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index b3baffba2..18b9a5014 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -41,7 +41,7 @@ RAW_CODE_REGEX = re.compile(
MAX_PASTE_LEN = 1000
# `!eval` command whitelists
-EVAL_CHANNELS = (Channels.bot_commands, Channels.esoteric)
+EVAL_CHANNELS = (Channels.bot_commands, Channels.esoteric, Channels.code_help_voice)
EVAL_CATEGORIES = (Categories.help_available, Categories.help_in_use)
EVAL_ROLES = (Roles.helpers, Roles.moderators, Roles.admins, Roles.owners, Roles.python_community, Roles.partners)
diff --git a/config-default.yml b/config-default.yml
index e7669e6db..5112af95b 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -190,6 +190,7 @@ guild:
admin_announcements: &ADMIN_ANNOUNCEMENTS 749736155569848370
# Voice
+ code_help_voice: 755154969761677312
admins_voice: &ADMINS_VOICE 500734494840717332
staff_voice: &STAFF_VOICE 412375055910043655