util module

class util.bcolors[source]

Bases: object

Allows for prettyprinting to the console for debugging.

CYAN = '\x1b[36m'
ENDC = '\x1b[0m'
FAIL = '\x1b[91m'
GREEN = '\x1b[32m'
HEADER = '\x1b[95m'
OKBLUE = '\x1b[94m'
OKGREEN = '\x1b[92m'
WARNING = '\x1b[93m'
YELLOW = '\x1b[33m'
util.commands(*command_list)[source]
util.depends(self, module_name)[source]
util.parse_line(line)[source]

returns an object with a nice set of line-pulled-apart members

util.strip_nick(nick)[source]

Clean up nicks of their op levels (&Schooly_D, ~BoneKin, etc)