Update Readme.

This commit is contained in:
eternnoir 2015-06-28 17:21:11 +08:00
parent 891b66b3cc
commit 1a8fd78204
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@ def listener(*messages):
"""
for m in messages:
chatid = m.chat.id
text = m.text
tb.send_message(chatid, text)
if m.content_type == 'text'
text = m.text
tb.send_message(chatid, text)
tb = telebot.TeleBot(TOKEN)