- Preparing search index...
- The search index is not available
@icynet/irclib
- applyTextColor(color: "white" | "black" | "blue" | "green" | "red" | "brown" | "purple" | "orange" | "yellow" | "lightgreen" | "cyan" | "lightcyan" | "lightblue" | "pink" | "grey" | "lightgrey", str: string): string
-
Parameters
-
color: "white" | "black" | "blue" | "green" | "red" | "brown" | "purple" | "orange" | "yellow" | "lightgreen" | "cyan" | "lightcyan" | "lightblue" | "pink" | "grey" | "lightgrey"
-
str: string
Returns string
Colorize a string for sending.
Returns
Text with control characters