Add bonjour action to annna. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit eb9224759dccf51d31a11f1d286b14ea973ee920 | |
parent bca32de8a2dc4faeeff2353e3b3ae33b9a16c43e | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 4 Nov 2019 20:48:01 +0100 | |
Add bonjour action to annna. | |
Diffstat: | |
M annna-start-services | 8 ++++++++ | |
1 file changed, 8 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -419,6 +419,12 @@ then | |
continue; | |
fi | |
+ if [ "${text}" = "${botname}, bonjour !" ]; | |
+ then | |
+ annna-say -c "#bitreich-en" "${user}, bonjour !" | |
+ continue; | |
+ fi | |
+ | |
if [ "${text}" = "${botname}, please help." ]; | |
then | |
# TODO: Add multiple line support to annna-say -c(1) w… | |
@@ -460,6 +466,8 @@ then | |
sleep 0.5 | |
annna-say -c "${user}" "», please tech hype me." | |
sleep 0.5 | |
+ annna-say -c "${user}" "»,bonjour !" | |
+ sleep 0.5 | |
annna-say -c "${user}" "»please help.« gives you thi… | |
continue; | |
fi |