Add horoscope service. - 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 a3431f9878de64d2eaad6bbb50e8fbbbbbbafbc8
(DIR) parent 5ac5d5a850a44c8ef801f1cf96406c81052b73cb
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 16 Feb 2020 21:09:24 +0100
Add horoscope service.
Diffstat:
M annna-start-services | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -234,6 +234,12 @@ then
continue;
fi
+ if [ "${text}" = "${botname}, what's my horoscope?" ];
+ then
+ horostr="$($HOME/scm/bullshit/horoscope)"
+ annna-say -c "#bitreich-en" "${horostr}"
+ continue;
+ fi
randomtag=0
if [ "${text}" = "${botname}, please meme meme meme me." ];