This commit is contained in:
Loic Guegan 2020-04-24 17:24:57 +02:00
parent bf9c244494
commit e9f1e4e724

View file

@ -19,6 +19,6 @@ data=client.games.get_ongoing()
for game in data: for game in data:
opponent=game["opponent"]["username"] opponent=game["opponent"]["username"]
lastMove=game["lastMove"] lastMove=game["lastMove"]
if not(game["isMyTurn"]): if game["isMyTurn"]:
notify_send("Lichess ("+opponent+")","It is your turn !\n Your oppenent played "+lastMove) notify_send("Lichess ("+opponent+")","It is your turn !\n Your oppenent played "+lastMove)