added girlfriend rejection feature - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 571482da2a06ecb894e4a48789186d7318c433e8 | |
parent 81ca2ee104e51843d268ad72ab81b53fc73ddf39 | |
Author: ben <[email protected]> | |
Date: Sat, 6 Feb 2021 17:53:31 -0500 | |
added girlfriend rejection feature | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-start-services | 4 ++++ | |
A girlfriend | 8 ++++++++ | |
2 files changed, 12 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -237,6 +237,10 @@ annna_common() { | |
postmortem="$(post-mortem | /br/bin/bitreich-paste)" | |
annna-say -c "${channel}" "${user}, do not feel bad, others ha… | |
;; | |
+ "${botname}, will you be my girlfriend?") | |
+ rejection="$(girlfriend)" | |
+ annna-say -c "${channel}" "${user}, ${girlfriend}" | |
+ ;; | |
"${botname}, birp.") | |
birdname="$(bird-name)" | |
annna-say -c "${channel}" "${user}, I heard a ${birdname} bird… | |
diff --git a/girlfriend b/girlfriend | |
@@ -0,0 +1,8 @@ | |
+#!/bin/sh | |
+# | |
+# she likes you... as a friend | |
+# | |
+ | |
+response="not, here not now, please\nI'm just not ready for such a commitment\… | |
+ | |
+echo $response | sort -R | sed 1q |