Commit graph

3 commits

Author SHA1 Message Date
leandrotoledo
f355af1d2b Restoring new features after rebase 2015-09-04 19:11:31 -03:00
leandrotoledo
245238b3a2 Keep off some features still in progress 2015-09-04 18:03:04 -03:00
Masoud Naservand
25f9eb7898 Extended the Bot class. Added a dispatching mechanism,
and decorators to add command to the bot the flask routing style, e.g:
>>> @bot.command('/start')
... def start(command, user_id):
...    return ('Hello, there', None, None)
2015-08-28 18:08:03 +04:30