Browse Source

fix a bad logging command

develop
Drew Short 5 years ago
parent
commit
cc5c09442a
  1. 2
      bot/engine.js

2
bot/engine.js

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

Loading…
Cancel
Save