mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 02:24:52 +00:00
Fix
This commit is contained in:
parent
3f98d31cc5
commit
b106bb79df
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ async def ytdl_gendl_callback(_, cq: CallbackQuery):
|
|||
callback = cq.data.split("|")
|
||||
key = callback[1]
|
||||
if callback[0] == "yt_gen":
|
||||
if match := regex.match(query):
|
||||
if match := regex.match(cq.message.reply_to_message.command[1]):
|
||||
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