mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 20:34:52 +00:00
Typo
This commit is contained in:
parent
3051159d20
commit
64556a3a36
1 changed files with 1 additions and 10 deletions
|
|
@ -53,16 +53,7 @@ async def mediainfo(client, message):
|
||||||
"""
|
"""
|
||||||
title = "MissKaty Bot Mediainfo"
|
title = "MissKaty Bot Mediainfo"
|
||||||
text_ = file_info.message_type
|
text_ = file_info.message_type
|
||||||
if CUSTOM_VIEW and GH_TOKEN is not None:
|
ink = post_to_telegraph(title, body_text)
|
||||||
link = await getMediaWeb(title, body_text)
|
|
||||||
if not link:
|
|
||||||
try:
|
|
||||||
osremove(file_path)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
return await message.reply("Failed to post mediainfo result.")
|
|
||||||
else:
|
|
||||||
link = post_to_telegraph(title, body_text)
|
|
||||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text=text_, url=link)]])
|
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text=text_, url=link)]])
|
||||||
try:
|
try:
|
||||||
await message.reply("ℹ️ <b>MEDIA INFO</b>", reply_markup=markup, quote=True)
|
await message.reply("ℹ️ <b>MEDIA INFO</b>", reply_markup=markup, quote=True)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue