Function applyTextFormat

  • Apply text formatting to a string for sending.

    Returns

    Text with control characters

    Parameters

    • format: "reverse" | "normal" | "underline" | "bold" | "italics"

      IRC format key

    • str: string

      Text to format

    Returns string

Generated using TypeDoc