aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:17:28 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:46 +0100
commit229c1672529c7d5b87dc0928816c0094bd42189c (patch)
tree615c3a7e51846a84ecde3013cb1c033ffa35f826 /bot/constants.py
parentupdate Channels (diff)
update Categories
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/bot/constants.py b/bot/constants.py
index d550b317..4c657ff9 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -86,15 +86,20 @@ class _Channels(EnvConfig):
Channels = _Channels()
-class Categories(NamedTuple):
- help_in_use = 696958401460043776
+
+class _Categories(EnvConfig):
+ EnvConfig.Config.env_prefix = "categories_"
+
+ python_help_system = 691405807388196926
development = 411199786025484308
devprojects = 787641585624940544
media = 799054581991997460
staff = 364918151625965579
-codejam_categories_name = "Code Jam" # Name of the codejam team categories
+Categories = _Categories()
+
+CODEJAM_CATEGORY_NAME = "Code Jam" # Name of the codejam team categories
class Client(NamedTuple):