Add welcome back feature. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 6b61b59a362bbc7849f6fc690a1200c30aaab26b | |
parent cd1fd68d7d47e216616a513a32143164fb189a19 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 25 May 2020 12:55:59 +0200 | |
Add welcome back feature. | |
Diffstat: | |
M annna-start-services | 12 ++++++++++++ | |
1 file changed, 12 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -297,6 +297,18 @@ annna_common() { | |
annna-say -c "${channel}" "$outtext" | |
fi | |
+ if [ "${text}" = "${botname}, wb." ]; | |
+ then | |
+ annna-say -c "${channel}" "${user}, ty! I am so happy to be he… | |
+ return | |
+ fi | |
+ | |
+ if [ "${text}" = "${botname}, welcome back." ]; | |
+ then | |
+ annna-say -c "${channel}" "${user}, thank you! I am so happy t… | |
+ return | |
+ fi | |
+ | |
if [ "${text}" = "${botname}, what's up?" ]; | |
then | |
newsstr="$(ecl -shell /home/solene/gopher/bin/generator.lisp)" |