From d3c78488962d367cae04372d92b7f960a1015d66 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 20 Dec 2024 23:23:15 +0900 Subject: [PATCH] fix(discord): use net.fetch instead of fetch --- src/providers/song-info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/song-info.ts b/src/providers/song-info.ts index cbeafbd7..3dc4b83e 100644 --- a/src/providers/song-info.ts +++ b/src/providers/song-info.ts @@ -142,7 +142,7 @@ const handleData = async ( const thumbnails = videoDetails.thumbnail?.thumbnails; songInfo.imageSrc = thumbnails.at(-1)?.url.split('?')[0]; - if (songInfo.imageSrc && !(await fetch(songInfo.imageSrc)).ok) { + if (songInfo.imageSrc && !(await net.fetch(songInfo.imageSrc)).ok) { songInfo.imageSrc = thumbnails.at(-1)?.url; }