From 784f3e966ab961a17757caf7d1bf62a9c442632f Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Wed, 27 Mar 2024 19:20:04 +0500 Subject: [PATCH] fix nsfw --- commands/NSFW/nsfw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/NSFW/nsfw.js b/commands/NSFW/nsfw.js index 924d16bc..6acd544c 100644 --- a/commands/NSFW/nsfw.js +++ b/commands/NSFW/nsfw.js @@ -38,7 +38,7 @@ class NSFW extends BaseCommand { const tag = interaction?.values[0], splitted = tag.split("_"), - res = await fetch(`https://nsfw-api-p302.onrender.com/media/${splitted[0].charAt(0).toLowerCase()}/${splitted[1].toLowerCase()}`).then(async r => await r.buffer()), + res = await fetch(`https://nsfw-api.jababot.ru/media/${splitted[0].charAt(0).toLowerCase()}/${splitted[1].toLowerCase()}`).then(async r => await r.buffer()), image = new AttachmentBuilder(res, { name: "image.jpeg" }); const embed = client.embed({