kibot.ModuleManager
index
/usr/src/rpm/BUILD/kibot-0.0.12/kibot/ModuleManager.py

 
Modules
       
kibot
linecache
re
string
sys

 
Classes
       
kibot.BaseModule.BaseModule
ModuleManager
NoPerm

 
class ModuleManager(kibot.BaseModule.BaseModule)
     Methods defined here:
__init__(self, bot)
die(self)
unload all modules, but keep self.modules_list populated
This should only be used on bot exit.  This is so modules can
be unloaded properly, yet the modules_list is stored for the
next startup
find_object(self, obj_name)
find an object in the modules and return it
takes the object pathname (as in 'module.command' or just 'command')
and returns the python object, along with its perm_object.
get_list(self)
return a list of loaded modules in search-path order
each item in the returned list is a tuple:
  (modulename, python_module, bot_module)
Here, python_module is the python_module in which the bot module
is defined.  bot_module is the class instance that IS the bot module.
load(self, name)
load a bot module by name
reload(self, name)
reload a bot module by name
This differs from "load; reload;" only in that the path
order is preserved un successful reload
unload(self, name)
unload a bot module by name

 
class NoPerm
    

 
Data
        Loader = <ihooks.BasicModuleLoader instance>