Introduction
Introduction Statistics Contact Development Disclaimer Help
Add xkcd comic support. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 3a7931d0296f037df5eeaa81a311c376445ee0d7
parent 2a821ad200698ad3912fe7cec0bbb0a69ba22e12
Author: Annna Robert-Houdin <[email protected]>
Date: Wed, 1 Sep 2021 12:04:39 +0200
Add xkcd comic support.
Diffstat:
M annna-message-common | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -88,6 +88,9 @@ case "${text}" in
nuris=""
fi
;;
+ *xkcd.com/*)
+ nuris="$(xkcd-uri "${uri}")"
+ ;;
*imdb.com/title/*)
movietitle="$(imdb2gopherbay "${uri}" | sed 's, ,+,g')"
if [ -n "${movietitle}" ];
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.