mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-05 11:44:50 +00:00
Typo
This commit is contained in:
parent
0d5d5cc706
commit
42fe9fc6aa
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ async def mediainfo(client, message):
|
||||||
link = message.text.split(" ", maxsplit=1)[1]
|
link = message.text.split(" ", maxsplit=1)[1]
|
||||||
process = await message.reply_text("`Mohon tunggu sejenak...`")
|
process = await message.reply_text("`Mohon tunggu sejenak...`")
|
||||||
try:
|
try:
|
||||||
output = await runcmd(f'mediainfo "{link}"')[0]
|
output = subprocess.check_output(["mediainfo", f"{link}"]).decode("utf-8")
|
||||||
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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue