diff --git a/commands/fun/ancient.js b/commands/fun/ancient.js index 5fba8df..c94d565 100644 --- a/commands/fun/ancient.js +++ b/commands/fun/ancient.js @@ -11,7 +11,7 @@ class AncientCommand extends Command { try { const data = await request("https://files.projectlounge.pw/meme/", { method: "HEAD", signal: controller.signal }); clearTimeout(timeout); - return data.headers.location; + return `https://files.projectlounge.pw${data.headers.location}`; } catch (e) { if (e.name === "AbortError") { this.success = false; diff --git a/commands/fun/cat.js b/commands/fun/cat.js index 3d2b5b9..f4e488e 100644 --- a/commands/fun/cat.js +++ b/commands/fun/cat.js @@ -11,7 +11,7 @@ class CatCommand extends Command { try { const data = await request("https://files.projectlounge.pw/cta/", { method: "HEAD", signal: controller.signal }); clearTimeout(timeout); - return data.headers.location; + return `https://files.projectlounge.pw${data.headers.location}`; } catch (e) { if (e.name === "AbortError") { this.success = false;