Skip to content

Commit

Permalink
Change (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
MysterySD authored Sep 9, 2021
1 parent 861c1db commit 6182671
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tobrot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import urllib.request
import dotenv
import telegram.ext as tg
from telegram.update import Update

from pyrogram import Client

Expand Down Expand Up @@ -156,10 +157,10 @@ def multi_rclone_init():

multi_rclone_init()

app = Client("LeechBot", bot_token=TG_BOT_TOKEN, api_id=APP_ID, api_hash=API_HASH, workers=343)

updater = tg.Updater(token=TG_BOT_TOKEN)
bot = updater.bot
dispatcher = updater.dispatcher


app = Client("LeechBot", bot_token=TG_BOT_TOKEN, api_id=APP_ID, api_hash=API_HASH, workers=343)

0 comments on commit 6182671

Please sign in to comment.