Hierarchy (View Summary, Expand)

Implements

Constructors

Properties

application: Application
client: BaseClient
logger: Logger
name: string

Returns the name of the function. Function names are read-only and can not be changed.

Methods

  • Parameters

    • guildId: string

    Returns
        | null
        | {
            actions: (
                | {
                    delete_timeframe?: number;
                    duration?: number;
                    notify?: boolean;
                    reason?: string;
                    type: "ban";
                }
                | { notify?: boolean; reason?: string; type: "kick" }
                | { duration?: number; notify?: boolean; reason?: string; type: "mute" }
                | {
                    duration?: number;
                    mode: "give" | "take";
                    notify?: boolean;
                    reason?: string;
                    roles: string[];
                    type: "role";
                }
                | { type: "none" }
                | { notify?: boolean; reason?: string; type: "warn" }
                | { notify: true; reason?: string; type: "verbal_warn" }
                | { count: number; notify?: boolean; reason?: string; type: "clear" }
                | { type: "delete_message" }
            )[];
            bail: boolean;
            bypasses: null | string[];
            enabled: boolean;
            exceptions?: { channels?: string[]; roles?: string[]; users?: string[] };
            for?: { channels?: string[]; roles?: string[]; users?: string[] };
            is_bypasser: boolean;
            mode: "normal" | "invert";
            name: null | string;
            normalize: boolean;
            tokens: string[];
            type: "word_filter";
            words: string[];
        }

MMNEPVFCICPMFPCPTTAAATR