This commit is contained in:
Avishkar Patil
2022-01-05 14:50:55 +05:30
committed by GitHub
parent 9fecbb55d6
commit fa23c621c7

View File

@@ -28,5 +28,6 @@ class Var(object):
URL = "https://{}/".format(FQDN) if ON_HEROKU or NO_PORT else \
"http://{}:{}/".format(FQDN, PORT)
DATABASE_URL = str(getenv('DATABASE_URL'))
PING_INTERVAL = int(getenv('PING_INTERVAL', '500'))
UPDATES_CHANNEL = str(getenv('UPDATES_CHANNEL', None))
BANNED_CHANNELS = list(set(int(x) for x in str(getenv("BANNED_CHANNELS", "-1001296894100")).split()))
BANNED_CHANNELS = list(set(int(x) for x in str(getenv("BANNED_CHANNELS", "-1001296894100")).split()))