From 72bc0b21d304bef39bd5ad0674a739ccf9822a6d Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 18 Jan 2017 11:55:05 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=D0=BC=D0=B0=D0=BD=D0=B4=D1=8B=20=D1=80=D0=B5=D0=B3?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D1=80=D0=BE=D0=BD=D0=B5=D0=B7=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=81=D0=B8=D0=BC=D1=8B=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chatbot/telebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatbot/telebot.py b/chatbot/telebot.py index 981f416..cbfe131 100755 --- a/chatbot/telebot.py +++ b/chatbot/telebot.py @@ -65,7 +65,7 @@ class DjingTelebot(helper.ChatHandler): if content_type != 'text': return self._chat_id = chat_id - text = msg['text'] + text = msg['text'].lower() # выполняем комманды если они есть if text in self.cmds.keys():