Amazebot / bbot

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

Improv #18

Open timkinnane opened 6 years ago

timkinnane commented 6 years ago

Parses message templates at runtime with data from user attributes, collected context and/or custom extensions.

timkinnane commented 6 years ago

Notes from old version:

Extensions accept path string to denote required scope Previously all extensions ran whenever improv rendered a template, now its possible to pass in a specific path string that an extension will provide data for, so it's not run unless required. This change also includes a fix to allow extensions access to the full middleware context.