Update message when someone got hit by the bot

This commit is contained in:
Mylloon 2021-08-04 14:32:46 +02:00
parent 9644437a68
commit 2d3c60bed9

View file

@ -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}")