import { type RESTPostAPIAutoModerationRuleJSONBody } from "https://deno.land/x/discord_api_types@0.37.81/v10.ts";
Properties
The 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)