Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

class Config(object):
# get a token from @BotFather
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
BOT_TOKEN = os.environ.get("BOT_TOKEN", "8197291636:AAETAqAwH8BYwYJoQqMbW3cPcEcrKws8xW8")
# The Telegram API things
API_ID = int(os.environ.get("API_ID", 12345))
API_HASH = os.environ.get("API_HASH")
API_ID = int(os.environ.get("API_ID", 26271673))
API_HASH = os.environ.get("API_HASH" 0e807111856890e4770b3e5a3324ec5f)
# Get these values from my.telegram.org
# the download location, where the HTTP Server runs
DOWNLOAD_LOCATION = "./DOWNLOADS"
Expand All @@ -24,7 +24,7 @@ class Config(object):
# set timeout for subprocess
PROCESS_MAX_TIMEOUT = 3600
# your telegram id
OWNER_ID = int(os.environ.get("OWNER_ID", ""))
OWNER_ID = int(os.environ.get("OWNER_ID", "820017857"))
SESSION_NAME = "UPLOADER-X-BOT"
# database uri (mongodb)
DATABASE_URL = os.environ.get("DATABASE_URL", "")
Expand Down