aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matias Lago Evia <[email protected]>2023-03-10 09:04:52 -0500
committerGravatar Matias Lago Evia <[email protected]>2023-03-10 09:04:52 -0500
commit35ec9846c4f7a34f3ac83fa206f7511d50cdff50 (patch)
tree6630d6e3d19e00926dd19a32231072b32e01f663
parentMerge pull request #1228 from python-discord/dependabot/github_actions/docker... (diff)
Allow .latex in python-help channel
-rw-r--r--bot/constants.py1
-rw-r--r--bot/exts/fun/latex.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index fed41ab9..7e5fa1d9 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -57,6 +57,7 @@ class Channels(NamedTuple):
off_topic_0 = 291284109232308226
off_topic_1 = 463035241142026251
off_topic_2 = 463035268514185226
+ python_help = 1035199133436354600
sir_lancebot_playground = int(environ.get("CHANNEL_COMMUNITY_BOT_COMMANDS", 607247579608121354))
voice_chat_0 = 412357430186344448
voice_chat_1 = 799647045886541885
diff --git a/bot/exts/fun/latex.py b/bot/exts/fun/latex.py
index 311b4ac2..8af05413 100644
--- a/bot/exts/fun/latex.py
+++ b/bot/exts/fun/latex.py
@@ -37,6 +37,7 @@ PAD = 10
LATEX_ALLOWED_CHANNNELS = WHITELISTED_CHANNELS + (
Channels.data_science_and_ai,
Channels.algos_and_data_structs,
+ Channels.python_help,
)