Add horoscope service. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit a3431f9878de64d2eaad6bbb50e8fbbbbbbafbc8 | |
parent 5ac5d5a850a44c8ef801f1cf96406c81052b73cb | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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." ]; |