mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix
This commit is contained in:
parent
cf175843d0
commit
3b8d08ae4c
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ async def screenshot_flink(c, m):
|
|||
#print(sec)
|
||||
ffmpeg_cmd = f"mediaextract -hide_banner -ss {sec} -i {shlex.quote(file_link)} -vframes 1 '{thumbnail_template}'"
|
||||
output = await run_subprocess(ffmpeg_cmd)
|
||||
await editPesan(m, f'😀 `{i+1}` of `{num_screenshots}` generated!')
|
||||
await editPesan(m.message, f'😀 `{i+1}` of `{num_screenshots}` generated!')
|
||||
if thumbnail_template.exists():
|
||||
screenshots.append(
|
||||
InputMediaPhoto(
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ async def genss_link(client, m):
|
|||
btns = gen_ik_buttons()
|
||||
|
||||
await snt.edit_text(
|
||||
text=f"Tell me what to do bro 🥳.\n\nTotal duration: `{datetime.timedelta(seconds=duration)}` (`{duration}s`)",
|
||||
text=f"Now choose how many result for screenshot? 🥳.\n\nTotal duration: `{datetime.timedelta(seconds=duration)}` (`{duration}s`)",
|
||||
reply_markup=InlineKeyboardMarkup(btns)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue