API v9InterfacesRESTPostAPIAutoModerationRuleJSONBodyVersion: 0.37.112On this pageRESTPostAPIAutoModerationRuleJSONBody https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-ruleIndex Propertiesactionsenabledevent_typeexempt_channelsexempt_rolesnametrigger_metadatatrigger_typeProperties actionsactions: APIAutoModerationAction[]optionalenabledenabled?: booleanevent_typeevent_type: AutoModerationRuleEventTypeoptionalexempt_channelsexempt_channels?: string[]optionalexempt_rolesexempt_roles?: string[]namename: stringoptionaltrigger_metadatatrigger_metadata?: APIAutoModerationRuleTriggerMetadatatrigger_typetrigger_type: AutoModerationRuleTriggerType
https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule