mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 10:44:50 +00:00
ok
This commit is contained in:
parent
998215454f
commit
7af42ce6d5
1 changed files with 1 additions and 7 deletions
|
|
@ -103,15 +103,9 @@ async def ytdownv2(self: Client, ctx: Message, strings):
|
|||
caption = x.caption
|
||||
markup = x.buttons
|
||||
photo = x.image_url
|
||||
msg = await ctx.reply_photo(
|
||||
await ctx.reply_photo(
|
||||
photo, caption=caption, reply_markup=markup, quote=True
|
||||
)
|
||||
await msg.wait_for_click(from_user_id=ctx.from_user.id, timeout=30)
|
||||
except ListenerTimeout:
|
||||
try:
|
||||
await msg.edit_caption(strings("exp_task", context="general"))
|
||||
except MessageIdInvalid:
|
||||
pass
|
||||
except Exception as err:
|
||||
await ctx.reply_msg(f"Opps, ERROR: {str(err)}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue