aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
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):