Mediainfo: Add title
Co-authored-by: Juan <jusidama18@users.noreply.github.com> Signed-off-by: breakdowns <hafitz666@outlook.co.id>
This commit is contained in:
parent
59e23c722a
commit
a56daf32cd
|
|
@ -49,7 +49,8 @@ async def mediainfo(client, message):
|
||||||
<h2>DETAILS</h2>
|
<h2>DETAILS</h2>
|
||||||
<pre>{out or 'Not Supported'}</pre>
|
<pre>{out or 'Not Supported'}</pre>
|
||||||
"""
|
"""
|
||||||
|
title = f"Slam Mirror Bot Mediainfo"
|
||||||
text_ = media_type.split(".")[-1].upper()
|
text_ = media_type.split(".")[-1].upper()
|
||||||
link = post_to_telegraph(media_type, body_text)
|
link = post_to_telegraph(title, body_text)
|
||||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text=text_, url=link)]])
|
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text=text_, url=link)]])
|
||||||
await process.edit_text("ℹ️ <b>MEDIA INFO</b>", reply_markup=markup)
|
await process.edit_text("ℹ️ <b>MEDIA INFO</b>", reply_markup=markup)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue