music: attempt fix search

This commit is contained in:
Cynthia Foxwell 2022-04-18 23:16:09 -06:00
parent 13b6420ff6
commit 672c39e516
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ async function enqueue(
}
async function youtubeSearch(msg, str) {
const items = await fetch(
const {items} = await fetch(
`https://www.googleapis.com/youtube/v3/search?key=${
hf.apikeys.google
}&maxResults=5&part=snippet&type=video&q=${encodeURIComponent(str)}`