Skip to content

Commit

Permalink
fix proxy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMohammad20000 committed Oct 23, 2023
1 parent 6b5d96d commit 1e3db46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
if PROXY_URL:
session.proxy = PROXY_URL

BOT = Bot(TOKEN, parse_mode=ParseMode.MARKDOWN,
# session=session
)
BOT = Bot(TOKEN, parse_mode=ParseMode.MARKDOWN, session=session)

dp = Dispatcher()

Expand Down

0 comments on commit 1e3db46

Please sign in to comment.