Skip to main content

CommandParse

Callable

  • CommandParse(msg: string): string | boolean

  • Parse the input chat message


    Parameters

    • msg: string

      Input string, cannot be empty

    Returns string | boolean

    a (de-escaped) string if msg looks like an normal message, true if a command successfully executed, false otherwise.