Add load and sex life. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 00ff702cedb4c0f73b78d7f45befc1a52aaad2c8 | |
parent 57c85632af561b09b854df7fd46e309538670ad4 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 27 May 2018 21:06:28 +0200 | |
Add load and sex life. | |
Diffstat: | |
M annna-start-services | 14 ++++++++++++++ | |
1 file changed, 14 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -166,6 +166,12 @@ then | |
annna-say -c "#bitreich-en" "$outtext" | |
fi | |
+ if [ "${text}" = "${botname}, oh hai!" ]; | |
+ then | |
+ annna-say -c "#bitreich-en" "${user}, hai! How is your… | |
+ continue; | |
+ fi | |
+ | |
ismember=0 | |
for member in $brmembers; | |
do | |
@@ -233,6 +239,12 @@ then | |
continue; | |
fi | |
+ if [ "${text}" = "${botname}, please show me the load." ]; | |
+ then | |
+ annna-say -c "#bitreich-en" "$(hostname) load: $(LANG=… | |
+ continue; | |
+ fi | |
+ | |
if [ "${text}" = "${botname}, please give me the count of onli… | |
then | |
annna-say -c "#bitreich-en" "$(hostname): $(who -q | t… | |
@@ -305,6 +317,8 @@ then | |
# TODO: Add multiple line support to annna-say -c(1) w… | |
annna-say -c "${user}" "»can you show me the uptime p… | |
sleep 0.5 | |
+ annna-say -c "${user}" "»please show me the load, ${u… | |
+ sleep 0.5 | |
annna-say -c "${user}" "»please give me the count of … | |
sleep 0.5 | |
annna-say -c "${user}" "»please tell me your favourit… |