From 25b5e0e81b8ae555f8fe7c3cf1cf4faf92af86c7 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:22:00 +0100 Subject: update lovefest --- bot/constants.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'bot/constants.py') 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): -- cgit v1.2.3