bernard357 / shellbot

Fast, simple and lightweight micro bot-framework for Python.
Apache License 2.0
10 stars 3 forks source link

Callback machine #20

Closed guillain closed 7 years ago

guillain commented 7 years ago

creation + added in input and menu machines

Done:

ToDo:

bernard357 commented 7 years ago

Interesting contribution, thanks for it. We had some issue with bare callbacks in the past because of the deletion of references. For this reason, a similar mechanism has been implemented in bot.py itself. You can look for dispatch() there if you like. Would you be ok if I work on some extension of existing code in bot.py ? This could save on the introduction of a separate observable.py

guillain commented 7 years ago

Thanks