[check] some changes

This commit is contained in:
levina 2022-02-21 08:24:52 +07:00 committed by GitHub
parent 50a61e7c4a
commit 044830f2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ async def skip_current_song(chat_id):
link = chat_queue[1][2]
type = chat_queue[1][3]
Q = chat_queue[1][4]
if type == "Audio":
if type == "music":
await calls.change_stream(
chat_id,
AudioPiped(
@ -59,7 +59,7 @@ async def skip_current_song(chat_id):
HighQualityAudio(),
),
)
elif type == "Video":
elif type == "video":
if Q == 720:
hm = HighQualityVideo()
elif Q == 480: