From 229c1672529c7d5b87dc0928816c0094bd42189c Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:17:28 +0100 Subject: update Categories --- bot/constants.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bot/constants.py') 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): -- cgit v1.2.3