botmasterai / botmaster-fulfill

a text-friendly way to integrate actions with your bot. Supply an object of action-functions that can return synchronously or asynchronously and replace text in the response, generate new responses, or do what the response claims to do.
MIT License
4 stars 2 forks source link

afterAll, beforeAll, all replace option and param #1

Closed jwickens closed 7 years ago

jwickens commented 7 years ago

These would be great for recursive action controllers that send partially empty updates while also sending another message to be fulfilled.

jwickens commented 7 years ago

before and after are now actually beforeAll and afterAll