Optimize sandwich support in 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 e291c055217a4690ae26a2d8e21fff5f8ab6804e DIR parent f23bcfadaa2d950281a30d91213e3483ed62167b HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 28 Dec 2021 17:43:24 +0100 Optimize sandwich support in annna. Diffstat: M annna-message-common | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -769,9 +769,15 @@ case "${text}" in "${botname}, please tell me who is your favourite pleasure man.") annna-say -c "${channel}" "My favourite pleasure man is of course Gunther!" ;; +"${botname}, make me a sandwich") + annna-say -c "${channel}" "No." + ;; "${botname}, sudo make me a sandwich") annna-say -c "${channel}" "Humans are no objects." ;; +"${botname}, please make me a sandwich") + annna-say -c "${channel}" "Maybe." + ;; "${botname}, sudo please make me a sandwich") annna-say -c "${channel}" "Here is your sandwich." ;;