Skip to content

Commit

Permalink
Add new BOT_NO
Browse files Browse the repository at this point in the history
  • Loading branch information
S M Mahabub Hossain authored Jan 17, 2022
1 parent 00841d7 commit b18fce1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def get_client() -> TorrentsAPIMixIn:

DOWNLOAD_DIR = None
BOT_TOKEN = None
BOT_NO = ""

download_dict_lock = Lock()
status_reply_dict_lock = Lock()
Expand Down Expand Up @@ -141,8 +142,13 @@ def get_client() -> TorrentsAPIMixIn:
SUDO_USERS.add(int(chats))
except:
pass
try:
BOT_NO = getConfig('BOT_NO')
except KeyError:
BOT_NO = ""
try:
BOT_TOKEN = getConfig('BOT_TOKEN')
CHAT_NAME = getConfig('CHAT_NAME')
parent_id = getConfig('GDRIVE_FOLDER_ID')
DOWNLOAD_DIR = getConfig('DOWNLOAD_DIR')
if not DOWNLOAD_DIR.endswith("/"):
Expand Down

0 comments on commit b18fce1

Please sign in to comment.