Introduction
Introduction Statistics Contact Development Disclaimer Help
Quarterly commit of changes. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 0d34d3fa3e153cfe4996b76b30db1f2ce401b189
parent 6bd93f2c6f8c9b5a158740dd54d7662c19324856
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 11 Nov 2018 10:32:53 +0100
Quarterly commit of changes.
* Messages
* fix phlog index
Diffstat:
M annna-start-services | 19 ++++++++++++++++---
M phlog-index | 2 +-
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -103,8 +103,13 @@ then
annna-say -c "#bitreich-en" "W…
;;
*)
- purl="$(curl -sL "${uri}" | 9 …
- annna-say -c "#bitreich-en" "c…
+ if expr "${uri}" : '^https*://…
+ then
+ annna-say -c "#bitreic…
+ else
+ purl="$(curl -sL "${ur…
+ annna-say -c "#bitreic…
+ fi
;;
esac
fi
@@ -169,6 +174,12 @@ then
annna-say -c "#bitreich-en" "$outtext"
fi
+ if [ "${text}" = "${botname}, what's up?" ];
+ then
+ newsstr="$(ecl -shell /home/solene/gopher/bin/generato…
+ annna-say -c "#bitreich-en" "$newsstr"
+ fi
+
if [ "${text}" = "${botname}, oh hai!" ];
then
annna-say -c "#bitreich-en" "${user}, hai! How is your…
@@ -316,7 +327,7 @@ then
if [ "${text}" = "${botname}, please update the phlog index." …
then
- phlog-index.sh > /dev/null 2>&1
+ phlog-index > /dev/null 2>&1
annna-say -c "#bitreich-en" "Thank you for your kind r…
continue;
fi
@@ -338,6 +349,8 @@ then
sleep 0.5
annna-say -c "${user}" "»please dance.«, ${user}."
sleep 0.5
+ annna-say -c "${user}" "»what's up?«, ${user}."
+ sleep 0.5
annna-say -c "${user}" "»please update the phlog inde…
sleep 0.5
annna-say -c "${user}" "»sudo make me a sandwich«, $…
diff --git a/phlog-index b/phlog-index
@@ -14,7 +14,7 @@ fi
base="$HOME/phlogs"
cache="$base/cache"
gopherbase="/usr/%s/phlog/%s"
-ircchans="#bitreich-en #bitreich-de #bitreich-fr"
+ircchans="#bitreich-en #bitreich-de #bitreich-fr #bitreich-con"
find /home/*/gopher/phlog \
-name "*.md" \
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.