Add what's down question. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 268cf36ffedafc0de95579e1dd9a562f482fa5c7
(DIR) parent 15c912f904d795b1eac92f84f4104aa426c05784
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 24 May 2020 19:04:13 +0200
Add what's down question.
Diffstat:
M annna-start-services | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -304,6 +304,12 @@ annna_common() {
return
fi
+ if [ "${text}" = "${botname}, what's down?" ];
+ then
+ annna-say -c "${channel}" "We all love you."
+ return
+ fi
+
if [ "${text}" = "${botname}, I feel sick." ];
then
newsstr="$(cd /br/gopher/hypochondria && ./hypochondria -s random)"
@@ -638,6 +644,8 @@ annna_common() {
sleep 0.5
annna-say -c "${user}" "»what's up?«, ${user}."
sleep 0.5
+ annna-say -c "${user}" "»what's down?«, ${user}."
+ sleep 0.5
annna-say -c "${user}" "»please update the phlog index.«, ${user}."
sleep 0.5
annna-say -c "${user}" "»sudo make me a sandwich«, ${user}."