import { type RESTPostAPIAutoModerationRuleJSONBody } from "https://deno.land/x/discord_api_types@0.37.48/v10.ts";
Properties
optional
trigger_metadata: APIAutoModerationRuleTriggerMetadata | undefinedThe rule trigger metadata
Can be omitted if the trigger type is AutoModerationRuleTriggerType.HarmfulLink or AutoModerationRuleTriggerType.Spam
optional
exempt_roles: Snowflake[] | undefinedThe role ids that shouldn't be affected by this rule (Maximum of 20)
optional
exempt_channels: Snowflake[] | undefinedThe channel ids that shouldn't be affected by this rule (Maximum of 50)