mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 18:44:51 +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"
|
||||
text_ = file_info.message_type
|
||||
if CUSTOM_VIEW and GH_TOKEN is not None:
|
||||
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)
|
||||
ink = post_to_telegraph(title, body_text)
|
||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text=text_, url=link)]])
|
||||
try:
|
||||
await message.reply("ℹ️ <b>MEDIA INFO</b>", reply_markup=markup, quote=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue