changes
This commit is contained in:
parent
1c8c45c2c2
commit
01d9cb1167
@ -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}`")
|
||||
|
Loading…
Reference in New Issue
Block a user