From 7d7f6a44b0bda6cf9d678d1ae3426d37dd292842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Sat, 28 May 2016 23:27:31 +0200 Subject: [PATCH] =?UTF-8?q?Updated=20Extensions=20=E2=80=93=20Your=20first?= =?UTF-8?q?=20Bot=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Extensions-–-Your-first-Bot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extensions-–-Your-first-Bot.md b/Extensions-–-Your-first-Bot.md index d46343e..9d7c35e 100644 --- a/Extensions-–-Your-first-Bot.md +++ b/Extensions-–-Your-first-Bot.md @@ -118,7 +118,7 @@ Some confused users might try to send commands to the bot that it doesn't unders ```python >>> def unknown(bot, update): -... bot.sendMessage(chat_id=update.message.chat_id, text="Sorry, I didn't understand that command.") +... bot.sendMessage(chat_id=update.message.chat_id, text="Sorry, I didn't understand that command.") ... >>> unknown_handler = MessageHandler([Filters.command], unknown) >>> dispatcher.add_handler(unknown_handler)