mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
Update NSFW domain
This commit is contained in:
parent
5dceb1abd4
commit
05f49331e0
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class NSFW extends BaseCommand {
|
||||||
|
|
||||||
const tag = interaction?.values[0],
|
const tag = interaction?.values[0],
|
||||||
splitted = tag.split("_"),
|
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" });
|
image = new AttachmentBuilder(res, { name: "image.jpeg" });
|
||||||
|
|
||||||
const embed = client.embed({
|
const embed = client.embed({
|
||||||
|
|
Loading…
Reference in a new issue