This commit is contained in:
yasir 2023-02-15 12:15:05 +07:00
parent 2ae0ae55c6
commit 5edabf637b

View file

@ -28,7 +28,6 @@ async def take_ss(_, m):
try:
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 hapusPesan(m)
os.remove(filename)
await hapusPesan(msg)
except Exception as e:
await editPesan(msg, f"Failed To Take Screenshot. {str(e)}")