-1
我想为hubot的未知命令调用hubot帮助。我如何从另一个命令如hubot测试中调用hubot帮助。因为我使用外部脚本文件的hubot帮助。我无法在其中添加robot.on。我怎样才能做到这一点?从其他命令调用hubot帮助
我想为hubot的未知命令调用hubot帮助。我如何从另一个命令如hubot测试中调用hubot帮助。因为我使用外部脚本文件的hubot帮助。我无法在其中添加robot.on。我怎样才能做到这一点?从其他命令调用hubot帮助
我无法找到确切的解决方案。但下面的解决方法获得帮助命令工作
helpCommands = robot.helpCommands() + '';
test = helpCommands.split(',');
for j in test
msg.send "#{j}"