Class c.controlInterface:

Part of control 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__
Method input Pass your command to this function and get the output
Method _output helper function which set the encoding to utf8
Method _cmd_help 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
Method _cmd_modules_start Undocumented
Method _cmd_modules_stop Undocumented
Method _cmd_modules_reload Undocumented
Method _cmd_modules_list Undocumented
Method _cmd_stop Undocumented
Method _cmd_network_disconnect Undocumented
Method _cmd_network_connect Undocumented
Method _cmd_network_ping Undocumented
Method _cmd_network_list Undocumented
Method _cmd_network_current Undocumented
Method _cmd_network_change Undocumented
Method _cmd_changenick Undocumented
Method _cmd_channel Undocumented
Method _cmd_channel_list Undocumented
Method _cmd_channel_join Undocumented
Method _cmd_channel_part Undocumented
Method _cmd_channel_kick Undocumented
Method _cmd_channel_say Undocumented
def __init__(self, bot):
Parametersbot (type: a Bot Instance )
def _output(self, out):
helper function which set the encoding to utf8
def input(self, request):
Pass your command to this function and get the output
Parametersrequestcommand and arguments (type: string )
Returnsthe output of the command (type: string )
def _cmd_help(self, argument):
Undocumented
def _cmd_log_get(self, argument):
Undocumented
def _cmd_config(self, argument):
Undocumented
def _cmd_config_reload(self, argument):
Undocumented
def _cmd_config_set(self, argument):
Undocumented
def _cmd_config_get(self, argument):
Undocumented
def _cmd_modules_start(self, argument):
Undocumented
def _cmd_modules_stop(self, argument):
Undocumented
def _cmd_modules_reload(self, argument):
Undocumented
def _cmd_modules_list(self, argument):
Undocumented
def _cmd_stop(self, argument):
Undocumented
def _cmd_network_disconnect(self, argument):
Undocumented
def _cmd_network_connect(self, argument):
Undocumented
def _cmd_network_ping(self, argument):
Undocumented
def _cmd_network_list(self, argument):
Undocumented
def _cmd_network_current(self, argument):
Undocumented
def _cmd_network_change(self, argument):
Undocumented
def _cmd_changenick(self, argument):
Undocumented
def _cmd_channel(self, arg):
Undocumented
def _cmd_channel_list(self, argument):
Undocumented
def _cmd_channel_join(self, argument):
Undocumented
def _cmd_channel_part(self, argument):
Undocumented
def _cmd_channel_kick(self, argument):
Undocumented
def _cmd_channel_say(self, argument):
Undocumented
API Documentation for OtfBot, generated by pydoctor at 2010-01-14 18:51:57.