From 2d3c60bed93ed86f313a94ef78f53cc897a7c608 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 4 Aug 2021 14:32:46 +0200 Subject: [PATCH] Update message when someone got hit by the bot --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index fa81f2f..d728300 100644 --- a/main.py +++ b/main.py @@ -47,7 +47,7 @@ class Listener(StreamListener): print(f"{errorMessage} I didn't know how to answer.") return self.api.update_status(status = choice(answer), in_reply_to_status_id = status._json["id"], auto_populate_reply_metadata = True) - print(f"{status._json['user']['screen_name']} est passé au coiffeur !") + print(f"{status._json['user']['screen_name']} s'est fait {answer[0]} !") except Exception as error: print(f"{errorMessage} {error}")