|
|
|
@ -146,10 +146,6 @@ class Bot(irc.client.SimpleIRCClient, Logger):
|
|
|
|
|
)
|
|
|
|
|
for plugin_name in plugin_names:
|
|
|
|
|
module = importlib.import_module(f"edmond.plugins.{plugin_name}")
|
|
|
|
|
are_dependencies_ok = getattr(module, "DEPENDENCIES_FOUND", True)
|
|
|
|
|
if not are_dependencies_ok:
|
|
|
|
|
self.log_e(f"Dependencies not found for plugin {plugin_name}.")
|
|
|
|
|
continue
|
|
|
|
|
# Get plugin class name from its module name.
|
|
|
|
|
class_name = (
|
|
|
|
|
"".join(map(lambda w: w.capitalize(), plugin_name.split("_")))
|
|
|
|
|