Class AutoModerationRule

Represents an auto moderation rule.

Hierarchy (view full)

  • Base
    • AutoModerationRule

Constructors

Properties

The actions that will execute when this rule is triggered.

creator?: User

The creator of this rule.

creatorID: string

The ID of the creator of this rule.

enabled: boolean

If this rule is enabled.

The event type of this rule.

exemptChannels: string[]

The channels that are exempt from this rule.

exemptRoles: string[]

The roles that are exempt from this rule.

guildID: string

The id of the guild this rule is in.

id: string
name: string

The name of this rule

triggerMetadata: TriggerMetadata

The metadata of this rule's trigger.

This rule's trigger type.

Accessors

Methods