broidHQ / broid-kit

Bot framework powered by Broid
Other
60 stars 9 forks source link

add getRouter #17

Closed dustinblackman closed 7 years ago

dustinblackman commented 7 years ago

Overview

Adds getRouter method in the same way that the Broid Integrations do. This introduces breaking changes as an HTTP server is no longer created by default. HTTP options are required in order for Broid Kit to create one.

This also fixes the bug where Broid Kit doesn't work correctly if the integration doesn't need a webhook server.