Add corona death question to annna. - 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 bae2eee2af39d52c5c369272aff1db5ad4817f17
(DIR) parent 91b25c9904112b1046890193123c35247de3cf5a
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Tue, 21 Apr 2020 18:47:14 +0200
Add corona death question to annna.
Diffstat:
M annna-start-services | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -398,6 +398,13 @@ then
continue;
fi
+ if [ "${text}" = "${botname}, how many people died of corona?" ];
+ then
+ annna-say -c "#bitreich-en" "${user}, too many. :( Please see yourself: gopher://magical.fish/1/covid"
+ continue;
+ fi
+
+
if [ "${text}" = "${botname}, please show me your memes." ];
then
purl="$(printf "%s" "$(hashtags)" | /br/bin/bitreich-paste)"