예제 #1
0
	def __init__(self, config):
		BotBot.__init__(self, config.HOST, config.IDENTITY['nick'], config.IDENTITY['realname'])
		self.config = config
		self.d = Debug()

		# initialize PluginDispatcher and autoload modules
		self.plugin_dispatcher = PluginDispatcher(self, config.PATHS['plugins'])
		self.plugin_dispatcher.load_plugins(config.PLUGINS)