music: body not func

This commit is contained in:
Cynthia Foxwell 2023-09-12 22:50:09 -06:00
parent d0a8e20bb3
commit 07b1b93a3e
1 changed files with 1 additions and 1 deletions

View File

@ -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/");