Skip to main content

ItemModuleVoiceCommandDetect

Callable

  • ItemModuleVoiceCommandDetect(msg, TriggerValues): number[]

  • Detects specific voice commands from a chat message.

    This is shared by most voice-detection items that pass in their configured trigger values, and gives back the matching indexes of those.


    Parameters

    • msg: string
    • TriggerValues: readonly string[]

    Returns number[]