From 06a1ab4724fa1fe197e722cb6c7b18d740c1ef45 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 18 Jan 2022 16:38:42 +0700 Subject: [PATCH] none --- program/music.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/music.py b/program/music.py index a05b7e8..a635c5c 100644 --- a/program/music.py +++ b/program/music.py @@ -205,7 +205,7 @@ async def play(c: Client, m: Message): ), stream_type=StreamType().local_stream, ) - add_to_queue(chat_id, songname, ytlink, url, "Audio", 0) + add_to_queue(chat_id, songname, ytlink, url, image, duration, "Audio", 0) await suhu.delete() requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( @@ -264,7 +264,7 @@ async def play(c: Client, m: Message): ), stream_type=StreamType().local_stream, ) - add_to_queue(chat_id, songname, ytlink, url, "Audio", 0) + add_to_queue(chat_id, songname, ytlink, url, image, duration, "Audio", 0) await suhu.delete() requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo(