mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +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,
|
||||
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)
|
||||
except Exception as e:
|
||||
await message.reply_text(str(e))
|
||||
|
|
|
|||
Loading…
Reference in a new issue