Cotal TypeScript packages
    Preparing search index...

    Function slashOutcome

    • The words of a slash command's result. A refusal is shown as a denial with its native reason and is never rendered as an empty list. describe turns a successful value into the lines to show; it must escape untrusted text with oneLine.

      Type Parameters

      • T

      Parameters

      Returns { lines: readonly string[]; tone: "ok" | "failed" | "waiting" | "hint" }