Adding #migration tag. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 228e98916c7d0d9230687af1313af1131b86ade8 DIR parent 47e6060c828dc9f3d972d17d4ed7e7a965130d33 HTML Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- DIR 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?resource=popularity' \ + grep phr2 \ + sed 's,.*href="\(.*\)".*,\1,' \ + sort | uniq | shuf -n 1)" + annna-say -c "#bitreich-en" "How about https://distrowatch.com/${ndistro} ?" + continue; + fi + if [ "${text}" = "${botname}, please dance with me." ]; then if [ $(($RANDOM % 2)) -gt 0 ]; DIR 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-victim.png #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-grade-garbage-collection.png #milk gopher://bitreich.org/9/memecache/milk.mp4 #mind gopher://bitreich.org/9/memecache/mind.mkv