From 8ad3ecd804418dbae2b322c092ea3c4942f0334f Mon Sep 17 00:00:00 2001 From: hexdev Date: Tue, 18 Aug 2026 14:02:35 +0700 Subject: [PATCH] chore: move channel settings to .env --- config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 5e15296..625805f 100644 --- a/config.py +++ b/config.py @@ -35,4 +35,7 @@ WELCOME_VIDEO_NOTE_FP = os.getenv("WELCOME_VIDEO_NOTE_FP", "static/welcome.mp4") PAGE_SIZE = 8 VERIFIED_ACCOUNTS = os.getenv("ADMINS", "").split(",") -NOTIFICATION_CHANNEL = -1003836761482 +NOTIFICATION_CHANNEL = os.getenv("NOTIFICATION_CHANNEL") + +if not NOTIFICATION_CHANNEL: + raise Exception("Specify Notification Channel in .env")