This commit is contained in:
levina 2022-01-18 16:38:42 +07:00 committed by GitHub
parent 66c8554294
commit 06a1ab4724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(