import { type APIAutoModerationRule } from "https://deno.land/x/discord_api_types@0.37.48/payloads/v9/mod.ts";
Properties
id: Snowflake
The id of this rule
guild_id: Snowflake
The guild which this rule belongs to
creator_id: Snowflake
The user id who created this rule
event_type: AutoModerationRuleEventType
The rule event type
trigger_type: AutoModerationRuleTriggerType
The rule trigger type
trigger_metadata: APIAutoModerationRuleTriggerMetadata
The rule trigger metadata
actions: APIAutoModerationAction[]
The actions which will execute when this rule is triggered
exempt_roles: Snowflake[]
The role ids that shouldn't be affected by this rule (Maximum of 20)
exempt_channels: Snowflake[]
The channel ids that shouldn't be affected by this rule (Maximum of 50)