mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-05 19:44:51 +00:00
Typo
This commit is contained in:
parent
30ab219fe5
commit
3f7b531839
1 changed files with 4 additions and 3 deletions
|
|
@ -83,14 +83,15 @@ async def mediainfo(client, message):
|
||||||
except Exception:
|
except Exception:
|
||||||
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"
|
||||||
body_text = f"""
|
|
||||||
<code>{output}</code>
|
|
||||||
"""
|
|
||||||
if CUSTOM_VIEW and GH_TOKEN is not None:
|
if CUSTOM_VIEW and GH_TOKEN is not None:
|
||||||
|
body_text = f"<code style='color:#22c1c3;'>{output}</code>"
|
||||||
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.")
|
||||||
else:
|
else:
|
||||||
|
body_text = f"""
|
||||||
|
<pre>{output}</pre>
|
||||||
|
"""
|
||||||
link = post_to_telegraph(title, body_text)
|
link = post_to_telegraph(title, body_text)
|
||||||
# siteurl = "https://spaceb.in/api/v1/documents/"
|
# siteurl = "https://spaceb.in/api/v1/documents/"
|
||||||
# response = await http.post(siteurl, data={"content": output, "extension": 'txt'} )
|
# response = await http.post(siteurl, data={"content": output, "extension": 'txt'} )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue