o.l.color : module documentation

Part of otfbot.lib View Source

No module docstring
Function filtercolors Filters all irc colors out of a given string
Function changecolor Returns a string that with the current irc color set to something
Function resetcolors Returns a string that will reset all currently active irc colors.
def filtercolors(input): (source)
Filters all irc colors out of a given string
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 resetcolors(): (source)
Returns a string that will reset all currently active irc colors.
API Documentation for OtfBot, generated by pydoctor at 2011-05-03 16:14:29.