diff --git a/README.md b/README.md index 488d217..0707a94 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -# Lichess Game Notification +# Lichess Games Notifications ### How to use it ? - 1. Install [Berserk](https://github.com/rhgrant10/berserk) with `pip install berserk` 2. Generate an access token on [Lichess.org](https://lichess.org) 3. Set the value of **ACCESS_TOKEN** variable in *notify.py* to the one use in step 2 diff --git a/notify.py b/notify.py index 9168dc6..6a76bbd 100755 --- a/notify.py +++ b/notify.py @@ -3,7 +3,7 @@ import berserk, subprocess # Change ACCESS TOKEN according to your need -ACCESS_TOKEN="EiZbLRtZzWnTL4xh" +ACCESS_TOKEN="" # Notify using notify-send @@ -20,5 +20,5 @@ for game in data: opponent=game["opponent"]["username"] lastMove=game["lastMove"] if game["isMyTurn"]: - notify_send("Lichess ("+opponent+")","It is your turn !\n Your oppenent played "+lastMove) + notify_send("Lichess.org ("+opponent+")","It is your turn !\n Your opponent played "+lastMove)