mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
Update misc_tools.py
This commit is contained in:
parent
566c4af29b
commit
867e4f761f
1 changed files with 1 additions and 2 deletions
|
|
@ -241,8 +241,7 @@ async def topho(client, message):
|
||||||
message.reply_to_message.sticker.file_id,
|
message.reply_to_message.sticker.file_id,
|
||||||
f"tostick_{message.from_user.id}.jpg",
|
f"tostick_{message.from_user.id}.jpg",
|
||||||
)
|
)
|
||||||
await message.reply_photo(photo=photo, caption=f"Sticker -> Image\n@{client.me.username}")
|
await asyncio.gather(*[message.reply_document(photo), message.reply_photo(photo, caption=f"Sticker -> Image\n@{client.me.username}")])
|
||||||
|
|
||||||
os.remove(photo)
|
os.remove(photo)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await message.reply_text(str(e))
|
await message.reply_text(str(e))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue