diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2020-04-24 18:35:25 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2020-04-24 18:35:25 +0200 |
| commit | ba6a3ff28dc21fbd4e77306ab9fbd881421192aa (patch) | |
| tree | 5db544a591d00006f15de8aa8bd5de05db0cd826 | |
| parent | e9f1e4e72454638067ac092c8eac9300cf30f636 (diff) | |
Cleaning
| -rw-r--r-- | README.md | 3 | ||||
| -rwxr-xr-x | notify.py | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -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 @@ -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) |
