Adding #migration tag. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 228e98916c7d0d9230687af1313af1131b86ade8 | |
parent 47e6060c828dc9f3d972d17d4ed7e7a965130d33 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 19 Apr 2020 23:10:17 +0200 | |
Adding #migration tag. | |
Diffstat: | |
M annna-start-services | 10 ++++++++++ | |
M modules/hashtags/hashtags.txt | 1 + | |
2 files changed, 11 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -519,6 +519,16 @@ then | |
continue; | |
fi | |
+ if [ "${text}" = "${botname}, please distro-hop with me." ]; | |
+ then | |
+ ndistro="$(curl -s 'https://distrowatch.com/dwres.php?… | |
+ grep phr2 \ | |
+ sed 's,.*href="\(.*\)".*,\1,' \ | |
+ sort | uniq | shuf -n 1)" | |
+ annna-say -c "#bitreich-en" "How about https://distrow… | |
+ continue; | |
+ fi | |
+ | |
if [ "${text}" = "${botname}, please dance with me." ]; | |
then | |
if [ $(($RANDOM % 2)) -gt 0 ]; | |
diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt | |
@@ -1239,6 +1239,7 @@ | |
#microsoft-teams-victim gopher://bitreich.org/I/memecache/microsoft-teams-vict… | |
#microsoft-virus gopher://bitreich.org/I/memecache/microsoft-virus.png | |
#midget gopher://bitreich.org/I/memecache/midget.jpg | |
+#migration gopher://bitreich.org/9/memecache/migration.mp4 | |
#military-grade-garbage-collection gopher://bitreich.org/I/memecache/military-… | |
#milk gopher://bitreich.org/9/memecache/milk.mp4 | |
#mind gopher://bitreich.org/9/memecache/mind.mkv |