From 5edabf637be3e3d1fe35109c77b36d1f44bc3623 Mon Sep 17 00:00:00 2001 From: yasir Date: Wed, 15 Feb 2023 12:15:05 +0700 Subject: [PATCH] Lupa --- misskaty/plugins/webss.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misskaty/plugins/webss.py b/misskaty/plugins/webss.py index 9a46e508..0c4dbe4a 100644 --- a/misskaty/plugins/webss.py +++ b/misskaty/plugins/webss.py @@ -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)}")