This commit is contained in:
yasir 2023-02-15 15:03:19 +07:00
parent 03fe29580b
commit 87a8211158
2 changed files with 3 additions and 3 deletions

View file

@ -208,7 +208,7 @@ async def telegram_screenshot(client, message, frame_count):
mime = media.mime_type
size = media.file_size
if message.media.value == "document" and "video" not in mime:
if replymsg.media.value == "document" and "video" not in mime:
return await kirimPesan(message, "Can only generate screenshots from video file....", quote=True)
# Downloading partial file.

View file

@ -26,7 +26,7 @@ async def ddl_mediainfo(_, message, url):
out = output_[0] if len(output_) != 0 else None
content = f"""
<b>MissKatyBot MediaInfo</b>
<br>
<b>DETAILS</b>
<pre>{out or 'Not Supported'}</pre>
"""
@ -91,7 +91,7 @@ async def telegram_mediainfo(client, message):
<b>MissKatyBot MediaInfo</b>
<b>JSON</b>
<pre>{file_info}.type</pre>
<br>
<b>DETAILS</b>
<pre>{out or 'Not Supported'}</pre>
"""