aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2020-04-24 18:35:25 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2020-04-24 18:35:25 +0200
commitba6a3ff28dc21fbd4e77306ab9fbd881421192aa (patch)
tree5db544a591d00006f15de8aa8bd5de05db0cd826
parente9f1e4e72454638067ac092c8eac9300cf30f636 (diff)
Cleaning
-rw-r--r--README.md3
-rwxr-xr-xnotify.py4
2 files changed, 3 insertions, 4 deletions
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)