brianbrunner / yowl-dialog-manager

Multi-interaction dialog management for yowl
MIT License
1 stars 1 forks source link

Set context.session.echo, so the example works. #2

Closed hugojosefson closed 7 years ago

hugojosefson commented 7 years ago

Nice example!

I noticed it failed to echo the input string, and instead said bot > You told me to echo "{echo}".

This should fix it by setting the echo property on context.session instead of directly on context.

brianbrunner commented 7 years ago

Thanks! I'll double check the examples repo to see if it needs updating there as well.

hugojosefson commented 7 years ago

Thanks. I'm on mobile right now, so can't make another PR... But I think I remember finding the examples repo afterwards too and noticing that it had a more updated version of this code. Including setting context.session.greeted.