chore: move channel settings to .env
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user