This commit is contained in:
levina 2022-02-10 12:12:48 +07:00 committed by GitHub
parent 6f39b11ff2
commit e9cced3485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,12 +17,16 @@ OWNER_NAME = getenv("OWNER_NAME")
ALIVE_NAME = getenv("ALIVE_NAME") ALIVE_NAME = getenv("ALIVE_NAME")
BOT_USERNAME = getenv("BOT_USERNAME") BOT_USERNAME = getenv("BOT_USERNAME")
ASSISTANT_NAME = getenv("ASSISTANT_NAME") 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") UPSTREAM_BRANCH = getenv("UPSTREAM_BRANCH", "main")
DURATION_LIMIT = int(getenv("DURATION_LIMIT", "60")) DURATION_LIMIT = int(getenv("DURATION_LIMIT", "60"))
GROUP_SUPPORT = getenv("GROUP_SUPPORT", "VeezSupportGroup") GROUP_SUPPORT = getenv("GROUP_SUPPORT", "VeezSupportGroup")
UPDATES_CHANNEL = getenv("UPDATES_CHANNEL", "levinachannel") 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 # database, decorators, handlers mandatory vars
MONGODB_URL = getenv("MONGODB_URL") MONGODB_URL = getenv("MONGODB_URL")
COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split()) COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split())