Update NSFW domain

This commit is contained in:
Jonny_Bro (Nikita) 2024-08-14 14:03:45 +05:00
parent 5dceb1abd4
commit 05f49331e0
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8

View file

@ -38,7 +38,7 @@ class NSFW extends BaseCommand {
const tag = interaction?.values[0],
splitted = tag.split("_"),
res = await fetch(`https://nsfw-api.jababot.ru/media/${splitted[0].charAt(0).toLowerCase()}/${splitted[1].toLowerCase()}`).then(async r => await r.buffer()),
res = await fetch(`https://nsfw.plsgo.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({