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 Nov 27, 2023
1 parent d82f916 commit 1671e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/plugins/pyroplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def get_msg(userbot, client, bot, sender, edit_id, msg_link, i):
new_link = f't.me/b/{chat}/{int(msg_id)}'
#recurrsion
return await get_msg(userbot, client, bot, sender, edit_id, new_link, i)
await client.copy_message(sender, chat, msg_id)
await client.copy_message(sender, chat, msg_id)
except Exception as e:
print(e)
return await client.edit_message_text(sender, edit_id, f'Failed to save: `{msg_link}`\n\nError: {str(e)}')
Expand Down

0 comments on commit 1671e47

Please sign in to comment.