From 044830f2a4e68d44142b61a4245bc31e7fe8024b Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 21 Feb 2022 08:24:52 +0700 Subject: [PATCH] [check] some changes --- driver/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/utils.py b/driver/utils.py index 8db3b24..e10b824 100644 --- a/driver/utils.py +++ b/driver/utils.py @@ -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: