BotFramework-Hubot
BotFramework-Hubot copied to clipboard
Refactor the middleware send() function to not break the middleware abstraction
Middleware is meant to act as an in between converter between Bot Framework and hubot entities. PR #29 adds a middleware.send() method in order to be able to handle aggregating multiple hubot responses into one Bot Framework response, but this should be changed to move sending to Bot Framework into the main adapter to maintain proper middleware abstraction.