errbot.bootstrap module

errbot.bootstrap.bootstrap(bot_class, logger, config, restore=None)[source]

Main starting point of Errbot.

Parameters:
  • bot_class -- The backend class inheriting from Errbot you want to start.
  • logger -- The logger you want to use.
  • config -- The config.py module.
  • restore -- Start Errbot in restore mode (from a backup).
errbot.bootstrap.bot_config_defaults(config)[source]
errbot.bootstrap.bpm_from_config(config)[source]

Creates a backend plugin manager from a given config.

errbot.bootstrap.enumerate_backends(config)[source]

Returns all the backends found for the given config.

errbot.bootstrap.get_storage_plugin(config)[source]

Find and load the storage plugin :param config: the bot configuration. :return: the storage plugin

errbot.bootstrap.setup_bot(backend_name, logger, config, restore=None)[source]