aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Älgmyr <[email protected]>2022-08-04 23:36:27 +0200
committerGravatar Anton Älgmyr <[email protected]>2022-08-04 23:36:27 +0200
commit0a3e581913935832d37b8b29cf1e7437d09075be (patch)
tree5cd5dfe419f991db977111d061c7dbdfb3f4faec
parentMerge pull request #1078 from ionite34/uwu-emoji-fix (diff)
Enable LaTeX command in ds&a 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 bc0b5931..eb9ee4b3 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -109,6 +109,7 @@ class Cats:
class Channels(NamedTuple):
advent_of_code = int(environ.get("AOC_CHANNEL_ID", 897932085766004786))
advent_of_code_commands = int(environ.get("AOC_COMMANDS_CHANNEL_ID", 897932607545823342))
+ algos_and_data_structs = 650401909852864553
bot_commands = 267659945086812160
community_meta = 267659945086812160
organisation = 551789653284356126
diff --git a/bot/exts/fun/latex.py b/bot/exts/fun/latex.py
index f0f2f8c0..aeabcd20 100644
--- a/bot/exts/fun/latex.py
+++ b/bot/exts/fun/latex.py
@@ -35,6 +35,7 @@ PAD = 10
LATEX_ALLOWED_CHANNNELS = WHITELISTED_CHANNELS + (
Channels.data_science_and_ai,
+ Channels.algos_and_data_structs,
)