From e9cced3485a80f633da56030989a53be3247f753 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 10 Feb 2022 12:12:48 +0700 Subject: [PATCH] add vars --- config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 40f8dc1..8e40970 100644 --- a/config.py +++ b/config.py @@ -17,12 +17,16 @@ OWNER_NAME = getenv("OWNER_NAME") ALIVE_NAME = getenv("ALIVE_NAME") BOT_USERNAME = getenv("BOT_USERNAME") ASSISTANT_NAME = getenv("ASSISTANT_NAME") -UPSTREAM_REPO = getenv("UPSTREAM_REPO") +UPSTREAM_REPO = getenv("UPSTREAM_REPO", "https://github.com/levina-lab/video-stream") UPSTREAM_BRANCH = getenv("UPSTREAM_BRANCH", "main") DURATION_LIMIT = int(getenv("DURATION_LIMIT", "60")) GROUP_SUPPORT = getenv("GROUP_SUPPORT", "VeezSupportGroup") UPDATES_CHANNEL = getenv("UPDATES_CHANNEL", "levinachannel") +# heroku mandatory vars +HEROKU_API_KEY = getenv("HEROKU_API_KEY") +HEROKU_APP_NAME = getenv("HEROKU_APP_NAME") + # database, decorators, handlers mandatory vars MONGODB_URL = getenv("MONGODB_URL") COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split())