Created
August 30, 2018 19:30
-
-
Save slapglif/9c7bc35f0aacd278ab206a71c95870a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def start(bot, update): | |
bots.append(bot) | |
updates.append(update) | |
update.message.reply_text( | |
"Hi. I'm IcarusBot. I'm waiting for your input!") | |
return SIGNALS | |
def cancel(bot, update): | |
user = update.message.from_user | |
update.message.reply_text('Bye! I hope we can talk again some day.') | |
return ConversationHandler.END | |
def error(bot, update, error): | |
"""Log Errors caused by Updates.""" | |
# print('Update "%s" caused error "%s"', update, error) | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment