update example

This commit is contained in:
Jannes Höke 2015-11-15 19:14:12 +01:00
parent f59efe0f4b
commit a55df8b5e1

View file

@ -57,8 +57,8 @@ def messageHandler(bot, update):
bot.sendMessage(update.message.chat_id, text=update.message.text)
def errorHandler(bot, error):
print(str(error))
def errorHandler(bot, update, error):
print('Update %s caused error %s' % (update, error))
def CLIReplyCommandHandler(bot, update):