music: remove url param that was limiting info
This commit is contained in:
parent
1b72a87764
commit
9939b7a0c9
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ async function enqueue({guild_id, voice_id, text_id, url, type, addedBy, suppres
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
info = await fetch(
|
info = await fetch(
|
||||||
`https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails&id=${id}&fields=items%2Fsnippet&key=${hf.apikeys.google}`
|
`https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails&id=${id}&key=${hf.apikeys.google}`
|
||||||
)
|
)
|
||||||
.then((res) => res.json())
|
.then((res) => res.json())
|
||||||
.then((data) => data?.items?.[0]);
|
.then((data) => data?.items?.[0]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue