mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix
This commit is contained in:
parent
376755e7b3
commit
8a2bee8e91
2 changed files with 3 additions and 2 deletions
|
|
@ -58,7 +58,8 @@ async def mediainfo(client, message):
|
|||
}
|
||||
response = await http.post("https://paste.yasir.eu.org/api/new", json=json_data)
|
||||
link = f"https://paste.yasir.eu.org/{response.json()['id']}"
|
||||
except:
|
||||
except Exception as e:
|
||||
LOGGER.error(e)
|
||||
link = None
|
||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text_, link)]])
|
||||
await kirimPesan(message, "ℹ️ <b>MEDIA INFO</b>", reply_markup=markup, quote=True)
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ async def wastepaste(_, message):
|
|||
pass
|
||||
return await editPesan(msg, "`File Not Supported !`")
|
||||
elif reply and (reply.text or reply.caption):
|
||||
data = reply.text.html or reply.caption.html
|
||||
data = reply.text or reply.caption
|
||||
elif not reply and len(message.command) >= 2:
|
||||
data = message.text.split(None, 1)[1]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue