From 6cb177d2a71a091539dba6969f5c4035114560e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Sat, 16 Apr 2016 16:46:40 +0200 Subject: [PATCH] fix markup in readme --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 71c3f9b64..76b99ce38 100644 --- a/README.rst +++ b/README.rst @@ -358,7 +358,7 @@ To enable our bot to respond to inline queries, we can add the following (you wi >>> inline_caps_handler = InlineQueryHandler(inline_caps) >>> dispatcher.addHandler(inline_caps_handler) -People might try to send commands to the bot that it doesn't understand, so we can use a ``RegexHandler`` to recognize all commands that were not recognized by the previous handlers. **Note:** This handler has to be added last, else it will be triggered before the ``CommandHandler``s had a chance to look at the update:: +People might try to send commands to the bot that it doesn't understand, so we can use a ``RegexHandler`` to recognize all commands that were not recognized by the previous handlers. **Note:** This handler has to be added last, else it will be triggered before the ``CommandHandlers`` had a chance to look at the update:: >>> def unknown(bot, update): ... bot.sendMessage(chat_id=update.message.chat_id, text="Sorry, I didn't understand that command.")