Add lichess support. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 669612be75d5550f5e385930e61944bf6ee6cc6b | |
parent e728e68a3f23010795a73232ca3038dd1e8e8f20 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 18 May 2021 22:33:02 +0200 | |
Add lichess support. | |
Diffstat: | |
M annna-message-common | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -132,6 +132,9 @@ case "${text}" in | |
nuris="text only: ${nuri}" | |
fi | |
;; | |
+ *lichess.org/*) | |
+ nuris="https://lichess1.org/game/export/gif/${uri#http… | |
+ ;; | |
*) | |
mimetype="$(file -b --mime-type "${tmpf}")" | |
case "${mimetype}" in |