censor nsfw in non nsfw channel

This commit is contained in:
Supositware 2022-10-16 23:08:23 +02:00
parent 06d0d3d5c5
commit 1c3c9a6cca

View file

@ -29,7 +29,7 @@ async function generate(i, prompt, client) {
height: 512, height: 512,
}, },
nsfw: true, nsfw: true,
censor_nsfw: i.channel.nsfw ? true : false, censor_nsfw: i.channel.nsfw ? false : true,
}; };
const fetchParameters = { const fetchParameters = {