Add dance command. - 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 57c85632af561b09b854df7fd46e309538670ad4
(DIR) parent a487ecc2b59075400fd82440ac42e5b4250afcef
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
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(-)
---
(DIR) 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.«, ${user}."
sleep 0.5
+ annna-say -c "${user}" "»please dance.«, ${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}."