From 664e0db7229a64441b791c910f5e818630221329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Wed, 17 May 2017 09:15:37 +0200 Subject: [PATCH] Statement gotchas --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 13f3c6b..c9e6cf7 100644 --- a/main.py +++ b/main.py @@ -47,7 +47,7 @@ def randomchat(bot, update): reply = chatbot.get_response(msg) if "te rieh" in msg or random.randint(0, 100) < 5: - reply = user_name + ": " + reply + reply = user_name + ": " + reply.text bot.sendMessage(update.message.chat_id, text=reply)