Interface APIAutoModerationRule

Hierarchy

  • APIAutoModerationRule

Properties

The actions which will execute when this rule is triggered

creator_id: string

The user id who created this rule

enabled: boolean

Whether this rule is enabled

The rule event type

exempt_channels: string[]

The channel ids that shouldn't be affected by this rule (Maximum of 50)

exempt_roles: string[]

The role ids that shouldn't be affected by this rule (Maximum of 20)

guild_id: string

The guild which this rule belongs to

id: string

The id of this rule

name: string

The rule name

The rule trigger metadata

The rule trigger type

Generated using TypeDoc