aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:22:00 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:46 +0100
commit25b5e0e81b8ae555f8fe7c3cf1cf4faf92af86c7 (patch)
tree5ce50805a705f68ae7bf18c28685061aaab6d224 /bot/constants.py
parentredeem lost bot references (diff)
update lovefest
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 11f9a5b9..540183ee 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -244,8 +244,14 @@ class Icons:
)
-class Lovefest:
- role_id = int(environ.get("LOVEFEST_ROLE_ID", 542431903886606399))
+class _Lovefest(EnvConfig):
+
+ EnvConfig.Config.env_prefix = "lovefest_"
+
+ role_id = 542431903886606399
+
+
+Lovefest = _Lovefest()
class Month(enum.IntEnum):