We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81d4dd3 + 473be8b commit a2c3697Copy full SHA for a2c3697
1 file changed
Handler/ImageClassificationHandler.js
@@ -121,7 +121,9 @@ class ImageClassificationHandler {
121
};
122
123
// Send the embed to the Discord Webhook
124
- Utils.sendDiscordWebhook(config.discord.webhook, embedData);
+ if (isNSFW && !isSexyButNotExplicit) {
125
+ Utils.sendDiscordWebhook(config.discord.webhook, embedData);
126
+ }
127
128
return {
129
nsfw: isNSFW && !isSexyButNotExplicit,
0 commit comments