mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-04 11:24:50 +00:00
Update mediainfo.py
This commit is contained in:
parent
24b2d7b8d1
commit
724f1b79c6
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ async def mediainfo(client, message):
|
||||||
return await process.edit("Sepertinya link yang kamu kirim tidak valid, pastikan direct link dan bisa di download.")
|
return await process.edit("Sepertinya link yang kamu kirim tidak valid, pastikan direct link dan bisa di download.")
|
||||||
title = "MissKaty Bot Mediainfo"
|
title = "MissKaty Bot Mediainfo"
|
||||||
if CUSTOM_VIEW and GH_TOKEN is not None:
|
if CUSTOM_VIEW and GH_TOKEN is not None:
|
||||||
body_text = f"<p><code style='color:#22c1c3;'>{output}</code></p>"
|
body_text = f"""
|
||||||
|
{output}
|
||||||
|
"""
|
||||||
link = await getMediaWeb(title, body_text)
|
link = await getMediaWeb(title, body_text)
|
||||||
if not link:
|
if not link:
|
||||||
return await message.reply("Failed to post mediainfo result.")
|
return await message.reply("Failed to post mediainfo result.")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue