From bd0169f7d52890e6f1f85d75aa4fdb6234ef69b0 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Fri, 6 Nov 2020 22:45:25 +0530 Subject: [PATCH] =?UTF-8?q?Easy=20to=20host=20on=20heorku=F0=9F=98=B4?= =?UTF-8?q?=F0=9F=98=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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__"