mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
FIx
This commit is contained in:
parent
e9427ca542
commit
f80935b8c3
1 changed files with 3 additions and 1 deletions
|
|
@ -123,7 +123,9 @@ async def ytdl_gendl_callback(_, cq: CallbackQuery):
|
|||
callback = cq.data.split("|")
|
||||
key = callback[1]
|
||||
if callback[0] == "yt_gen":
|
||||
if match := regex.match(cq.message.reply_to_message.command[1]):
|
||||
if match := regex.match(cq.message.reply_to_message.command[1]) or regex.match(
|
||||
key
|
||||
):
|
||||
x = await main.Extractor().get_download_button(key)
|
||||
await cq.edit_message_caption(caption=x.caption, reply_markup=x.buttons)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue