diff --git a/misskaty/helper/ssgen_helper.py b/misskaty/helper/ssgen_helper.py index 8c9c6646..fe9a05ce 100644 --- a/misskaty/helper/ssgen_helper.py +++ b/misskaty/helper/ssgen_helper.py @@ -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( diff --git a/misskaty/plugins/genss.py b/misskaty/plugins/genss.py index 54429e06..84cc4b17 100644 --- a/misskaty/plugins/genss.py +++ b/misskaty/plugins/genss.py @@ -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) )