mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-05 19:44:51 +00:00
Lupa
This commit is contained in:
parent
2ae0ae55c6
commit
5edabf637b
1 changed files with 1 additions and 2 deletions
|
|
@ -28,7 +28,6 @@ async def take_ss(_, m):
|
||||||
try:
|
try:
|
||||||
url = f"https://webss.yasirapi.eu.org/api?url={url}&width=1280&height=720"
|
url = f"https://webss.yasirapi.eu.org/api?url={url}&width=1280&height=720"
|
||||||
await gather(*[m.reply_document(url, file_name=filename), m.reply_photo(url)])
|
await gather(*[m.reply_document(url, file_name=filename), m.reply_photo(url)])
|
||||||
await hapusPesan(m)
|
await hapusPesan(msg)
|
||||||
os.remove(filename)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await editPesan(msg, f"Failed To Take Screenshot. {str(e)}")
|
await editPesan(msg, f"Failed To Take Screenshot. {str(e)}")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue