better log

This commit is contained in:
Mylloon 2022-08-12 13:39:36 +02:00
parent 35e27c7da1
commit 86b661c9c9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -192,7 +192,7 @@ class Listener(StreamingClient):
# Send the tweet with the answer # Send the tweet with the answer
self.client.create_tweet( self.client.create_tweet(
in_reply_to_tweet_id=tweet.id, text=choice(answer)) in_reply_to_tweet_id=tweet.id, text=choice(answer))
print(f"{author.username} s'est fait {answer[0]} !") print(f"{author.username} s'est fait -{answer[0]} !")
except errors.Forbidden: except errors.Forbidden:
if keys["VERBOSE"]: if keys["VERBOSE"]:
print( print(