Add bonjour action to annna. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit eb9224759dccf51d31a11f1d286b14ea973ee920 DIR parent bca32de8a2dc4faeeff2353e3b3ae33b9a16c43e HTML Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- DIR 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) with sleep. @@ -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 this help listing, ${user}." continue; fi