From ce07b5408efbccbc7c79229e0ec939d74e8fa18b Mon Sep 17 00:00:00 2001 From: M Afiq Date: Fri, 3 Jul 2015 06:09:58 +0800 Subject: [PATCH] Correcting code error --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 043fa9a..e3fe8cf 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ print tb.send_message(281281, 'gogo power ranger') ```python import telebot +import time TOKEN = '' @@ -51,7 +52,7 @@ def listener(*messages): """ for m in messages: chatid = m.chat.id - if m.content_type == 'text' + if m.content_type == 'text': text = m.text tb.send_message(chatid, text)