|
|
@ -24,7 +24,7 @@ class Engine { |
|
|
|
this.modules.forEach((mod) => { |
|
|
|
logger.info("Loading module: %s", mod.name); |
|
|
|
initModule(mod); |
|
|
|
console.log("Recognized commands: %s", mod.getRecognizedCommands()) |
|
|
|
logger.infog("Recognized commands: %s", mod.getRecognizedCommands()) |
|
|
|
this.moduleMap.set(mod.command, mod); |
|
|
|
this.commandMap.set(mod.command, mod); |
|
|
|
this.commandRadixTree.addWord(mod.command); |
|
|
|