mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix duplicate
This commit is contained in:
parent
d7f2cc5590
commit
9480e646e3
1 changed files with 2 additions and 1 deletions
|
|
@ -207,7 +207,8 @@ async def instadl(_, message):
|
|||
is_img = (await fetch.head(res)).headers.get("content-type").startswith("image")
|
||||
if is_img:
|
||||
await message.reply_photo(res, caption=fname)
|
||||
await message.reply_video(res, caption=fname)
|
||||
else:
|
||||
await message.reply_video(res, caption=fname)
|
||||
await msg.delete()
|
||||
except Exception as e:
|
||||
await message.reply(f"Failed to download instagram video..\n\n<b>Reason:</b> {e}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue