diff --git a/heroku_config.py b/heroku_config.py index 50cde2cd..4e4f1465 100644 --- a/heroku_config.py +++ b/heroku_config.py @@ -18,6 +18,7 @@ class Var(object): HEROKU_APP_NAME = os.environ.get("HEROKU_APP_NAME", None) TG_BOT_TOKEN_BF_HER = os.environ.get("TG_BOT_TOKEN_BF_HER", None) TG_BOT_USER_NAME_BF_HER = os.environ.get("TG_BOT_USER_NAME_BF_HER", None) + NO_SONGS = bool(os.environ.get("NO_SONGS", False)) DOWNLOAD_PFP_URL_CLOCK = os.environ.get("DOWNLOAD_PFP_URL_CLOCK", None) G_DRIVE_CLIENT_ID = os.environ.get("G_DRIVE_CLIENT_ID", None) G_DRIVE_CLIENT_SECRET = os.environ.get("G_DRIVE_CLIENT_SECRET", None) diff --git a/userbot/uniborgConfig.py b/userbot/uniborgConfig.py index 8f8a7e1b..4635bad2 100644 --- a/userbot/uniborgConfig.py +++ b/userbot/uniborgConfig.py @@ -34,6 +34,7 @@ class Config(object): TG_BOT_TOKEN_BF_HER = os.environ.get("TG_BOT_TOKEN_BF_HER", None) TG_BOT_USER_NAME_BF_HER = os.environ.get("TG_BOT_USER_NAME_BF_HER", None) # + NO_SONGS = bool(os.environ.get("NO_SONGS", False)) # # DO NOT EDIT BELOW THIS LINE IF YOU DO NOT KNOW WHAT YOU ARE DOING # TG API limit. A message can have maximum 4096 characters!