Guide
Set up nudity detection
Nudity detection is on as soon as SfwBot joins and removes explicit images, GIFs and videos. You can change the level where blocking starts, exempt channels and roles, and keep your own allow list and block list.
How it works
When a member posts media, SfwBot goes through these checks in order:
- Exemptions. Exempt channels and roles are skipped. So are age-restricted channels, unless you switch that off.
- Image lists. A fingerprint of the media is compared with your allow list, your block list and the shared lists SfwBot maintains. A match is answered at once, without a scan.
- AI scan. Everything else is rated by the model. A scan uses credits.
- Decision. Media at or above your level is blocked.
There are three levels, and you pick the lowest one that is blocked:
| Level | Name | Blocks |
|---|---|---|
| 1 | Revealing | Revealing, implied nudity and explicit |
| 2 | Implied nudity | Implied nudity and explicit |
| 3 | Explicit | Explicit only. This is the default. |
Attachments, images in link previews and forwarded messages are checked. Stickers, custom emojis and media posted by other bots are checked only if you switch that on. Profile pictures and banners are not checked. For an overview of the feature see nudity detection.
Set it up in the dashboard
The [settings reference](/docs/settings) lists every option with its default.
Open AI detection, Nudity
In the dashboard, open your server and go to AI detection, then Nudity. Check media for nudity switches the module on or off.
Choose what is blocked
Under What should be blocked? pick Revealing, Implied nudity or Explicit.
Decide what happens
Delete blocked content removes the message. Switch it off if you would rather review first: the bot then only reports to the log channel, and a moderator can delete from there.
Decide what is checked
Allow in age-restricted channels, Skip spoiler media, Check bot content, Check stickers and Check custom emojis control which media reaches the scan.
Add exemptions
Under Exempt channels and Exempt roles, choose where and for whom the check is skipped.
Set a log channel
Without one your moderators are not told what was removed. See logging.
Commands
/settings, page Detection, switches detection on or off and changes the level, deletion, the age-restricted channel rule and the spoiler rule./settings, page Exemptions and image lists, adds and removes exempt channels and roles, and adds an image to the allow list or block list by its link.- The message menu Apps, Add to block list adds every image, GIF and video of a message to your block list.
/standingshows a member their own recently removed images, with a button to report a wrong decision.
The first three need the Manage Server permission. See the command reference.
What happens when media is blocked
- The message is deleted, if deletion is on. A match on your block list is always deleted.
- A log entry is posted to your log channel, with buttons to flag the decision as inaccurate, delete the message if it is still there, or mute, kick or ban the member.
- The member is told, if the message was deleted. Members who opted in with
/dmsget a direct message with a button to report a mistake. Others get a short channel notice that deletes itself, unless you switched the notice off in General settings. - Trust is deducted, if you use trust and strikes and the message was deleted. A match on your block list is a medium tier violation. A removal by the AI scan is a low tier violation that is off by default, because a model can be wrong; switch it on in the trust settings if you want it.
Data taken from the message, such as the media link and its fingerprint, is deleted after 30 days. See security and privacy.
Exemptions and image lists
The lists are shown under AI detection, Image lists. They hold a fingerprint of each image, not the image itself.
Exempt channels
Skip detection in a channel. A thread follows the channel it belongs to.
Exempt roles
Skip detection for members with a role, for example your moderators.
Age-restricted channels
Skipped by default. Switch off Allow in age-restricted channels to check them too.
Allow list
An image on the allow list is never removed on your server and costs no credits. Near-identical copies match as well.
Block list
An image on the block list is always removed, without a scan. Use it for images the model missed.
Options on Plus and Pro
Two options on the Nudity page come with Plus and Pro:
- Block adult toys and objects also removes adult toys and similar objects.
- Illustrations and art gives artwork its own level, or allows art entirely, while photos keep your normal level.
Two more come with Pro:
- Channel levels gives a channel or a whole category its own level, for up to 50 of them. A thread follows its channel, and a channel follows its category unless it has its own level. If the server leaves Pro, the levels are kept but paused.
- Deep video scan checks 30 frames of a video instead of 10, and 15 frames of a GIF instead of 5.
See pricing.
Troubleshooting
- The bot reports media but does not delete it. Either Delete blocked content is off, or the bot lacks Manage Messages in that channel. In the second case a permission error appears in your log channel.
- Nothing happens in one channel. The channel is age-restricted or on the exempt list.
/statusshows the state of the current channel. - One member is never checked. The member has an exempt role.
- Stickers or emojis get through. Those checks are off until you switch them on.
- Scanning stopped everywhere. Your server is out of credits. Your lists keep working. See credits.
- An image was removed by mistake. Report it from the log entry and add it to your allow list.
- No log entries. No log channel is set, or the bot cannot post there.
Common questions
Can I review before anything is deleted?
Yes. Switch off Delete blocked content. The bot reports each case in the log channel and a moderator decides.
Are edited messages scanned again?
Identical media is not scanned or charged again within 24 hours, so an edit that keeps the same image costs nothing.
Can I allow nudity in one channel?
Yes. Mark the channel as age-restricted in Discord, or add it to the exempt channels. On Pro, a channel can also have its own level.
Does a wrong removal cost the member trust?
Not by default. The AI violation is off in the trust settings until you switch it on, and a moderator can revert a violation from the log entry.