diff --git a/Config.py b/Config.py index 5716470a..bc4aaf49 100644 --- a/Config.py +++ b/Config.py @@ -12,7 +12,7 @@ class Config(): SUDO_USERS = list(set(SUDO_USERS)) else: BOT_TOKEN = "" - DATABASE_URL = "" + DATABASE_URL = os.environ.get("DATABASE_URL", None) APP_ID = "" API_HASH = "" SUDO_USERS = list(set(int(x) for x in ''.split())) @@ -33,4 +33,4 @@ class Messages(): "**Developed by @viperadnan**" ] - START_MSG = "**Hey [{}](tg://user?id={})**\n__I can force members to join a specific channel before writing messages in the group.\nLearn more at /help__" \ No newline at end of file + START_MSG = "**Hey [{}](tg://user?id={})**\n__I can force members to join a specific channel before writing messages in the group.\nLearn more at /help__"