music: body not func
This commit is contained in:
parent
d0a8e20bb3
commit
07b1b93a3e
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ async function enqueue({
|
|||
|
||||
media = await fetch(
|
||||
info?.audioStreams?.sort((a, b) => a.bitrate - b.bitrate)?.[0]?.url
|
||||
).then((res) => res.body());
|
||||
).then((res) => res.body);
|
||||
} else if (type == "sc") {
|
||||
if (url?.startsWith("sc:"))
|
||||
url = url.replace(/^sc:/, "https://soundcloud.com/");
|
||||
|
|
Loading…
Reference in a new issue