The age-restricted filter (previously called NSFW filter) is an experimental feature that scans images for potentially unsafe content.
- The selected warning action will be carried for images that trigger the filter. If this action is not set the filter will be disabled.
- The selected warning reason is applied to the action when the filter is triggered.
- The removal action will be used to remove any age-restricted messages. Typically this should be set to Auto purge or Auto remove message

Security
Age-restricted filter modification requires that the Bot user has the ‘Change automod settings’ authority.