Adding #5g-gay tag. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit d7a98c3e5f12fe4fffa83c713aec41155d3c5eb3 | |
parent 7005e844965dd2e3813edd8624a1dc22d71f12e7 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 19 Apr 2020 12:02:27 +0200 | |
Adding #5g-gay tag. | |
Diffstat: | |
M annna-start-services | 8 +++++++- | |
M fetch-url | 2 -- | |
M modules/hashtags/hashtags.txt | 1 + | |
3 files changed, 8 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -116,7 +116,13 @@ then | |
*) | |
if expr "${uri}" : '^https*://… | |
then | |
- annna-say -c "#bitreic… | |
+ spurl="$(subtitle-past… | |
+ if [ -n "${spurl}" ]; | |
+ then | |
+ annna-say -c "… | |
+ else | |
+ annna-say -c "… | |
+ fi | |
else | |
case "${uri}" in | |
*twitter.com*) | |
diff --git a/fetch-url b/fetch-url | |
@@ -1,7 +1,5 @@ | |
#!/bin/sh | |
-set -x | |
- | |
if test x"$1" = x""; then | |
echo "usage: $0 <url>" >&2 | |
exit 1 | |
diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt | |
@@ -15,6 +15,7 @@ | |
#404 gopher://bitreich.org/I/memecache/404.png | |
#50eur gopher://bitreich.org/I/memecache/50eur.png | |
#5g-covidiots gopher://bitreich.org/I/memecache/5g-covidiots.png | |
+#5g-gay gopher://bitreich.org/I/memecache/5g-gay.jpg | |
#5g-tower gopher://bitreich.org/9/memecache/5g-tower.mp4 | |
#5g-upgrade gopher://bitreich.org/I/memecache/5g-upgrade.jpg | |
#69 gopher://bitreich.org/9/memecache/69.mkv |