diff --git a/bot.py b/bot.py index 22e4dc2..99975bd 100755 --- a/bot.py +++ b/bot.py @@ -24,7 +24,5 @@ updater.dispatcher.add_handler(telegram.ext.CommandHandler("auth", auth)) updater.dispatcher.add_handler(telegram.ext.CommandHandler("unauth", unauth)) updater.dispatcher.add_handler(telegram.ext.CommandHandler("fish", fish)) -try: - updater.start_polling() -except KeyboardInterrupt: - updater.stop() +updater.start_polling() +updater.idle()