Skip to content

Commit

Permalink
Code By @TheTeamAlexa
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTeamAlexa committed Jan 13, 2024
1 parent 2a128c6 commit 3ddaf5f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions AlexaMusic/utils/stream/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
from AlexaMusic.core.call import Alexa
from AlexaMusic.misc import db
from AlexaMusic.utils.database import (
add_active_chat,
add_active_video_chat,
is_active_chat,
is_video_allowed,
music_on,
)
from AlexaMusic.utils.exceptions import AssistantErr
from AlexaMusic.utils.inline.play import stream_markup, queue_markup, telegram_markup
from AlexaMusic.utils.inline.play import queue_markup, stream_markup, telegram_markup
from AlexaMusic.utils.inline.playlist import close_markup
from AlexaMusic.utils.pastebin import Alexabin
from AlexaMusic.utils.stream.queue import put_queue, put_queue_index
Expand Down Expand Up @@ -118,7 +116,7 @@ async def stream(
forceplay=forceplay,
)
theme = await check_theme(chat_id)
img = await gen_thumb(vidid, userid, theme)
img = await gen_thumb(vidid, user_id, theme)
button = stream_markup(_, vidid, chat_id)
run = await app.send_photo(
original_chat_id,
Expand Down Expand Up @@ -435,4 +433,4 @@ async def stream(
)
db[chat_id][0]["mystic"] = run
db[chat_id][0]["markup"] = "tg"
await mystic.delete()
await mystic.delete()

0 comments on commit 3ddaf5f

Please sign in to comment.