Class AutoModerationRule

Hierarchy

  • Base
    • AutoModerationRule

Constructors

Properties

client: Client<true>
creatorId: string
enabled: boolean
exemptChannels: Collection<string, GuildBasedChannel>
exemptRoles: Collection<string, Role>
guild: Guild
id: string
name: string

Methods

  • Parameters

    • Optional reason: string

    Returns Promise<void>

  • Parameters

    • allowList: readonly string[]
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • Optional enabled: boolean
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • keywordFilter: readonly string[]
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • mentionRaidProtectionEnabled: boolean
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • mentionTotalLimit: number
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • name: string
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • regexPatterns: readonly string[]
    • Optional reason: string

    Returns Promise<AutoModerationRule>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns string

Generated using TypeDoc