API docs for “services.control.botService”

Class s.c.botService(service.MultiService):

Part of services.control View Source View In Hierarchy

allows to control the behaviour of the bot during runtime

this class only does the work, you need another class, most suitable is a bot-module, to have a userinterface

Method __init__ Undocumented
Method register_command Undocumented
Method handle_command Undocumented
Method help Undocumented
Method _exec Undocumented
Method _get_cmd_for_subtree Undocumented
Method _cmd_log_get Undocumented
Method _cmd_config Undocumented
Method _cmd_config_reload Undocumented
Method _cmd_config_set Undocumented
Method _cmd_config_get Undocumented

Inherited from MultiService:

Method privilegedStartService Do preparation work for starting the service.
Method startService Start the service.
Method stopService Stop the service.
Method getServiceNamed Get the child service with a given name.
Method __iter__ Get an iterator over all child services.
Method addService Add a child service.
Method removeService Remove a child service.

Inherited from Service (via MultiService):

Method __getstate__ Undocumented
Method setName Set the name of the service.
Method setServiceParent Set the parent of the service.
Method disownServiceParent Use this API to remove an IService from an IServiceCollection.
def __init__(self, root, parent): (source)
def register_command(self, f, namespace=None, name=None): (source)
Undocumented
def handle_command(self, string): (source)
Undocumented
def _exec(self, f, args): (source)
Undocumented
def help(self): (source)
Undocumented
def _get_cmd_for_subtree(self, dict): (source)
Undocumented
def _cmd_log_get(self, argument): (source)
Undocumented
def _cmd_config(self, argument): (source)
Undocumented
def _cmd_config_reload(self, argument): (source)
Undocumented
def _cmd_config_set(self, argument): (source)
Undocumented
def _cmd_config_get(self, argument): (source)
Undocumented
API Documentation for OtfBot - the friendly Bot, generated by pydoctor at 2010-01-04 01:40:56.