Optional
data: AutoModerationRuleObjectcreator_id the user which first created this rule
snowflake
enabled whether the rule is enabled
boolean
event_type the rule event type
EventType
exempt_channels the channel ids that should not be affected by the rule (Maximum of 50)
array
exempt_roles the role ids that should not be affected by the rule (Maximum of 20)
array
guilded_id the id of the guild which this rule belongs to
snowflake
id the id of this rule
snowflake
name the rule name
string
Protected
reqeusttrigger_metadata the rule trigger metadata
integer
trigger_type the rule trigger type
TriggerType
Generated using TypeDoc
actions the actions which will execute when the rule is triggered
Returns
array