feat: channel sub

This commit is contained in:
2026-08-20 10:52:40 +07:00
parent 04be991865
commit 7031ed4d46
6 changed files with 75 additions and 13 deletions

View File

@@ -29,6 +29,11 @@ REDIS_URL = os.getenv("REDIS_URL", "redis://localhost:6379/1")
PROXY_URL = os.getenv("PROXY_URL")
WELCOME_VIDEO_NOTE_FP = os.getenv("WELCOME_VIDEO_NOTE_FP", "static/welcome.mp4")
CHANNEL_URL = os.getenv("CHANNEL_URL", "https://t.me/shveitech")
CHANNEL_ID = os.getenv("CHANNEL_ID")
if not CHANNEL_ID:
raise Exception("Specify Channel ID in .env")
### Constants ###