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

    Variable censorTextConst

    censorText: (
        text: string,
        words: string[],
        options?: { char?: string },
    ) => string

    Star out listed words (first+last letter kept for 3+ letters).

    Type Declaration

      • (text: string, words: string[], options?: { char?: string }): string
      • Parameters

        • text: string
        • words: string[]
        • Optionaloptions: { char?: string }

        Returns string