BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::parsers::frostbite::abstractParser Namespace Reference

Classes

class  AbstractParser

Functions

def patch_b3_clients

Variables

string __author__ = 'Courgette'
string __version__ = '1.6'
int SAY_LINE_MAX_LENGTH = 100
 messagequeue
 Below is the code that change a bit the b3.clients.Client class at runtime.
 messagehandler

Function Documentation

def b3::parsers::frostbite::abstractParser::patch_b3_clients ( )

Variable Documentation

Below is the code that change a bit the b3.clients.Client class at runtime.

What the point of coding in python if we cannot play with its dynamic nature ;)

why ? because doing so make sure we're not broking any other working and long tested parser. The change we make here are only applied when the frostbite parser is loaded. add a new method to the Client class override the Client.message() method at runtime

 All Classes Namespaces Files Functions Variables Properties