better log
This commit is contained in:
parent
35e27c7da1
commit
86b661c9c9
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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(
|
||||||
|
|
Reference in a new issue