From 9939b7a0c9432138a61e76621bc5a662455e3752 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 22 Dec 2024 18:38:41 -0700 Subject: [PATCH] music: remove url param that was limiting info --- src/modules/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/music.js b/src/modules/music.js index bc4bc81..eb08173 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -199,7 +199,7 @@ async function enqueue({guild_id, voice_id, text_id, url, type, addedBy, suppres } } 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((data) => data?.items?.[0]);