Discord · Schema

AutomodTriggerType

ChatCommunicationGamingMessagingSocialVideoVoice
View JSON Schema on GitHub

JSON Schema

discord-automodtriggertype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AutomodTriggerType",
  "title": "AutomodTriggerType",
  "type": "integer",
  "oneOf": [
    {
      "title": "KEYWORD",
      "description": "Check if content contains words from a list of keywords or matches regex",
      "const": 1
    },
    {
      "title": "SPAM_LINK",
      "description": "DEPRECATED",
      "const": 2
    },
    {
      "title": "ML_SPAM",
      "description": "Check if content represents generic spam",
      "const": 3
    },
    {
      "title": "DEFAULT_KEYWORD_LIST",
      "description": "Check if content contains words from internal pre-defined wordsets",
      "const": 4
    },
    {
      "title": "MENTION_SPAM",
      "description": "Check if content contains more unique mentions than allowed",
      "const": 5
    }
  ],
  "format": "int32"
}