Function applyTextColor

  • Colorize a string for sending.

    Returns

    Text with control characters

    Parameters

    • color: "white" | "black" | "blue" | "green" | "red" | "brown" | "purple" | "orange" | "yellow" | "lightgreen" | "cyan" | "lightcyan" | "lightblue" | "pink" | "grey" | "lightgrey"

      IRC color key

    • str: string

      Text to colorize

    Returns string

Generated using TypeDoc