Skip to content

Commit

Permalink
Update @TheTeamAlexa
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTeamAlexa authored Mar 6, 2023
1 parent 61b0b39 commit 700bf12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion AlexaMusic/plugins/admins/skip.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# All rights reserved. © Alisha © Alexa © Yukki



from pyrogram import filters
from pyrogram.types import InlineKeyboardMarkup, Message

Expand Down Expand Up @@ -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"]
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 700bf12

Please sign in to comment.