diff --git a/AlexaMusic/plugins/admins/skip.py b/AlexaMusic/plugins/admins/skip.py index 9e7a4029..c9a2c9fb 100644 --- a/AlexaMusic/plugins/admins/skip.py +++ b/AlexaMusic/plugins/admins/skip.py @@ -4,6 +4,7 @@ # All rights reserved. © Alisha © Alexa © Yukki + from pyrogram import filters from pyrogram.types import InlineKeyboardMarkup, Message @@ -100,7 +101,6 @@ async def skip(cli, message: Message, _, chat_id): queued = check[0]["file"] title = (check[0]["title"]).title() user = check[0]["by"] - theme = await check_theme(chat_id) streamtype = check[0]["streamtype"] videoid = check[0]["vidid"] user_id = check[0]["user_id"] @@ -114,6 +114,7 @@ async def skip(cli, message: Message, _, chat_id): except Exception: return await message.reply_text(_["call_9"]) button = telegram_markup(_, chat_id) + theme = await check_theme(chat_id) img = await gen_thumb(videoid, user_id, theme) run = await message.reply_photo( photo=img, @@ -141,6 +142,7 @@ async def skip(cli, message: Message, _, chat_id): except Exception: return await mystic.edit_text(_["call_9"]) button = stream_markup(_, videoid, chat_id) + theme = await check_theme(chat_id) img = await gen_thumb(videoid, user_id, theme) run = await message.reply_photo( photo=img, @@ -195,6 +197,7 @@ async def skip(cli, message: Message, _, chat_id): db[chat_id][0]["markup"] = "tg" else: button = stream_markup(_, videoid, chat_id) + theme = await check_theme(chat_id) img = await gen_thumb(videoid, user_id, theme) run = await message.reply_photo( photo=img,