From 71ca0376290090b38f105ac23975bff829df8ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Thu, 18 May 2017 23:43:40 +0200 Subject: [PATCH] More stupidity --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 53e8268..84a4932 100644 --- a/main.py +++ b/main.py @@ -56,7 +56,7 @@ def randomchat(bot, update): reply = statement.text if "te rieh" in msg or random.randint(0, 100) < 5: - if "te rieh" in reply.text: + if "te rieh" in reply: reply = reply.replace("te rieh", user_name) else: