Add distro-hopping to annna. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit ae88de56ce650836cbb089dc58f5d6eb1acf8006 | |
parent 228e98916c7d0d9230687af1313af1131b86ade8 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 19 Apr 2020 23:11:37 +0200 | |
Add distro-hopping to annna. | |
Thanks Evil_Bob! | |
Diffstat: | |
M annna-start-services | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -522,9 +522,9 @@ then | |
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)" | |
+ | grep phr2 \ | |
+ | sed 's,.*href="\(.*\)".*,\1,' \ | |
+ | sort | uniq | shuf -n 1)" | |
annna-say -c "#bitreich-en" "How about https://distrow… | |
continue; | |
fi |