Optimize sandwich support in annna. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit e291c055217a4690ae26a2d8e21fff5f8ab6804e | |
parent f23bcfadaa2d950281a30d91213e3483ed62167b | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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 Gunt… | |
;; | |
+"${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." | |
;; |