Amazebot / bbot

An adaptable conversation engine for building bespoke bots.
MIT License
55 stars 2 forks source link

Use exported interfaces in Rocket.Chat adapter #55

Open timkinnane opened 6 years ago

timkinnane commented 6 years ago

Rocket.Chat SDK exports Typescript definitions (or should), so they can be used to provide better type checking and intellisense when developing the Rocket.Chat adapter. e.g. for message and meta attributes in response/listener callbacks.

This should probably be moved as an issue on the adapter when that's moved to an external repo.

see https://github.com/Amazebot/bbot/blob/master/src/adapters/rocketchat.ts

related #51