Skip to main content
Module

x/discord_api_types/v10.ts>APIAutoModerationRule

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIAutoModerationRule
Re-export
import { type APIAutoModerationRule } from "https://deno.land/x/discord_api_types@0.37.21/v10.ts";

Properties

The id of this rule

guild_id: Snowflake

The guild which this rule belongs to

name: string

The rule name

creator_id: Snowflake

The user id who created this rule

The rule event type

The rule trigger type

The rule trigger metadata

The actions which will execute when this rule is triggered

enabled: boolean

Whether this rule is enabled

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)