Attachments, embeds, and unfurled media items now document the flags Discord sets when its content scanning flags media as explicit, gore, or self-harm.
We've documented the flags Discord sets when its content scanning flags media as explicit, gore, or self-harm, so your app can check media before acting on it, like reposting an uploaded image to another channel.
Developer Resources
- Attachments and embeds use the
CONTAINS_EXPLICIT_CONTENT,CONTAINS_GORE_CONTENT, andCONTAINS_SELF_HARM_CONTENTflags. - Unfurled media items in components include a
content_scan_metadataobject with its own flags.