mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-08 12:54:51 +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("|")
|
callback = cq.data.split("|")
|
||||||
key = callback[1]
|
key = callback[1]
|
||||||
if callback[0] == "yt_gen":
|
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)
|
x = await main.Extractor().get_download_button(key)
|
||||||
await cq.edit_message_caption(caption=x.caption, reply_markup=x.buttons)
|
await cq.edit_message_caption(caption=x.caption, reply_markup=x.buttons)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue