Add dance command. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 57c85632af561b09b854df7fd46e309538670ad4 | |
parent a487ecc2b59075400fd82440ac42e5b4250afcef | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Fri, 18 May 2018 21:41:52 +0200 | |
Add dance command. | |
Diffstat: | |
M annna-start-services | 8 ++++++++ | |
1 file changed, 8 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -257,6 +257,12 @@ then | |
continue; | |
fi | |
+ if [ "${text}" = "${botname}, please dance." ]; | |
+ then | |
+ annna-say -c "#bitreich-en" ',o/ o/_ _\o _o_ \o\' | |
+ continue; | |
+ fi | |
+ | |
if [ "${text}" = "${botname}, please dance with me." ]; | |
then | |
if [ $(($RANDOM % 2)) -gt 0 ]; | |
@@ -307,6 +313,8 @@ then | |
sleep 0.5 | |
annna-say -c "${user}" "»please dance with me.«, ${u… | |
sleep 0.5 | |
+ annna-say -c "${user}" "»please dance.«, ${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«, $… |