Update mediainfo.py

This commit is contained in:
yasirarism 2023-01-28 14:28:58 +07:00 committed by GitHub
parent 3f7b531839
commit 24b2d7b8d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ async def mediainfo(client, message):
return await process.edit("Sepertinya link yang kamu kirim tidak valid, pastikan direct link dan bisa di download.")
title = "MissKaty Bot Mediainfo"
if CUSTOM_VIEW and GH_TOKEN is not None:
body_text = f"<code style='color:#22c1c3;'>{output}</code>"
body_text = f"<p><code style='color:#22c1c3;'>{output}</code></p>"
link = await getMediaWeb(title, body_text)
if not link:
return await message.reply("Failed to post mediainfo result.")