added girlfriend rejection feature - 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 571482da2a06ecb894e4a48789186d7318c433e8 DIR parent 81ca2ee104e51843d268ad72ab81b53fc73ddf39 HTML Author: ben <ben@0x1bi.net> Date: Sat, 6 Feb 2021 17:53:31 -0500 added girlfriend rejection feature Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-start-services | 4 ++++ A girlfriend | 8 ++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) --- DIR 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 had worse days: ${postmortem}" ;; + "${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." DIR 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\nlet's just be friends\nI like you, like a brother\n" + +echo $response | sort -R | sed 1q