This commit is contained in:
Dragon Fire
2024-03-30 19:10:47 -04:00
parent 2214c2c597
commit 3487ffdd58
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class SauceNaoCommand extends Command {
const sauce = data[0];
if (!msg.channel.nsfw) {
const nsfw = await isUrlNSFW(sauce.url, this.client.adultSiteList);
if (nsfw || nsfw === null) return msg.reply('The result was NSFW.');
if (nsfw) return msg.reply('The result was NSFW.');
}
const embed = new MessageEmbed()
.setImage(sauce.thumbnail)