diff --git a/program/music.py b/program/music.py index 5002442..a73c0b4 100644 --- a/program/music.py +++ b/program/music.py @@ -168,7 +168,7 @@ async def play(c: Client, m: Message): url = search[1] duration = search[2] thumbnail = search[3] - format = "bestaudio" + format = "bestaudio[ext=m4a]" veez, ytlink = await ytdl(format, url) if veez == 0: await suhu.edit(f"❌ yt-dl issues detected\n\n» `{ytlink}`") @@ -222,7 +222,7 @@ async def play(c: Client, m: Message): url = search[1] duration = search[2] thumbnail = search[3] - format = "bestaudio" + format = "bestaudio[ext=m4a]" veez, ytlink = await ytdl(format, url) if veez == 0: await suhu.edit(f"❌ yt-dl issues detected\n\n» `{ytlink}`")