@japofc/baileys - v2.4.7
    Preparing search index...

    Interface WordFilterOptions

    Word filter — keyword/regex moderation over extracted message text.

    interface WordFilterOptions {
        allowlist?: string[];
        autoDelete?: boolean;
        groupsOnly?: boolean;
        includeFromMe?: boolean;
        patterns?: RegExp[];
        words?: string[];
    }
    Index
    allowlist?: string[]

    Chat jids exempt from filtering.

    autoDelete?: boolean

    Delete matching messages for everyone (bot must be admin). Default false.

    groupsOnly?: boolean

    Only watch group chats. Default false.

    includeFromMe?: boolean

    Also inspect the bot's own messages. Default false.

    patterns?: RegExp[]

    Extra regexes checked as-is.

    words?: string[]

    Words/phrases matched case-insensitively on word boundaries.