module documentation

Undocumented

Function changecolor Returns a string that with the current irc color set to something different. Expects both arguments to be one of the strings defined in colormap: "white, black, navy, green, red, brown, purple, orange, yellow, light_green, teal, cyan, blue, pink, grey, light_grey" The background color is optional...
Function filtercolors Filters all irc colors out of a given string
Function resetcolors Returns a string that will reset all currently active irc colors.
Variable colormap Undocumented
def changecolor(fgcolor, bgcolor=None): (source)

Returns a string that with the current irc color set to something different. Expects both arguments to be one of the strings defined in colormap: "white, black, navy, green, red, brown, purple, orange, yellow, light_green, teal, cyan, blue, pink, grey, light_grey" The background color is optional

def filtercolors(input): (source)

Filters all irc colors out of a given string

def resetcolors(): (source)

Returns a string that will reset all currently active irc colors.

colormap: dict[str, int] = (source)

Undocumented