Skip to main content

PropertyAutoPunishParseMessage

Callable

  • PropertyAutoPunishParseMessage(Sensitivity: 0 | 1 | 2 | 3, msg: string): boolean

  • Check if a given message warants automatic punishment given the provided sensitivety level


    Parameters

    • Sensitivity: 0 | 1 | 2 | 3

      The auto-punishment sensitivety

    • msg: string

      The to-be checked message

    Returns boolean

    Whether the passed message should trigger automatic speech-based punishment