Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vasusen-code committed May 28, 2023
1 parent ab50b44 commit c41653c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@

bot = TelegramClient('bot', API_ID, API_HASH).start(bot_token=BOT_TOKEN)

userbot = Client(
session_name=SESSION,
api_hash=API_HASH,
api_id=API_ID)
userbot = Client("saverestricted", session_string=SESSION, api_hash=API_HASH, api_id=API_ID)

try:
userbot.start()
Expand Down

0 comments on commit c41653c

Please sign in to comment.