Skip to main content

PropertyAutoPunishDetectSpeech

Callable

  • PropertyAutoPunishDetectSpeech(Item: Item, LastMessageLen?: number): boolean

  • Check whether the last uttered message should trigger automatic punishment from the provided item


    Parameters

    • Item: Item

      The item in question

    • LastMessageLen: number = null

      The length of ChatRoomLastMessage prior to the last message (if applicable)

    Returns boolean

    Whether the last message should trigger automatic speech-based punishment