From 1c3c9a6ccabc8c10763bdcacd01243e1ebeb5884 Mon Sep 17 00:00:00 2001 From: Supositware Date: Sun, 16 Oct 2022 23:08:23 +0200 Subject: [PATCH] censor nsfw in non nsfw channel --- commands/fun/stablediffusion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/stablediffusion.js b/commands/fun/stablediffusion.js index 9cdd0a98..20faf877 100644 --- a/commands/fun/stablediffusion.js +++ b/commands/fun/stablediffusion.js @@ -29,7 +29,7 @@ async function generate(i, prompt, client) { height: 512, }, nsfw: true, - censor_nsfw: i.channel.nsfw ? true : false, + censor_nsfw: i.channel.nsfw ? false : true, }; const fetchParameters = {