From da2fdf7a6c82b6acf5f15b9ae6d096968f8daa88 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 18 Aug 2022 13:43:42 +0200 Subject: [PATCH] Update 'src/lyrics.js' --- src/lyrics.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/lyrics.js b/src/lyrics.js index ed00222a..eee8417f 100644 --- a/src/lyrics.js +++ b/src/lyrics.js @@ -1,14 +1,7 @@ const fetch = require("node-fetch"); async function main(e = "", d = "") { - const lyrics = await fetch( - `https://p.poketube.fun/api/lyrics?query=${e}` - ).then((res) => res.json()); - - if (lyrics == undefined) lyrics = "Lyrics not found"; - if (lyrics != undefined) { - return lyrics; - } +return "none" } module.exports = main;