(self, plugin_modules, plugin_instances)
TODO: add default plugins

        for this bot, load all the plugins
        - find event handlers and register them
TODO: add default plugins
TODO : add default plugins
def _register_plugins(self, plugin_modules, plugin_instances):
        """
        TODO: add default plugins

        for this bot, load all the plugins
        - find event handlers and register them
        """
        for module in plugin_modules:
            self._register_plugin_functions(module)

        for plugin_instance in plugin_instances:
            self._register_plugin_class_methods(plugin_instance)
def _register_plugins ( self , plugin_modules , plugin_instances ) : for module in plugin_modules : self . _register_plugin_functions ( module ) for plugin_instance in plugin_instances : self . _register_plugin_class_methods ( plugin_instance )