Fix listener timeout on media extractor

Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
Yasir Aris M 2023-11-28 06:46:27 +07:00 committed by GitHub
parent 484a1e7f00
commit 60c32ca7c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,7 @@ async def ceksub(_, ctx: Message, strings):
buttons.append(
[InlineKeyboardButton(strings("cancel_btn"), f"close#{ctx.from_user.id}")]
)
try:
msg = await pesan.edit_msg(
strings("press_btn_msg").format(timelog=get_readable_time(timelog)),
reply_markup=InlineKeyboardMarkup(buttons),