Skip to content

Commit

Permalink
Update pyroplug.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vasusen-code committed Oct 11, 2023
1 parent 57cb62d commit 699326f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/plugins/pyroplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ async def get_msg(userbot, client, bot, sender, edit_id, msg_link, i):
try:
int(chat)
new_link = f"t.me/c/{chat}/{msg_id}"
except ValueError:
except:
new_link = f"t.me/b/{chat}/{msg_id}"
return await get_msg(userbot, client, bot, sender, to, edit_id, new_link, i)
return await get_msg(userbot, client, bot, sender, edit_id, msg_link, i)
except Exception as e:
print(e)
if "messages.SendMedia" in str(e) \
Expand Down

0 comments on commit 699326f

Please sign in to comment.