Support American English in shooting. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 0d6b3ef6ddfe3547708c482860428086df50132a
(DIR) parent 9c7a6891fe9811fb45b5ac51d395cd3e87cc5362
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sat, 3 Jul 2021 11:17:23 +0200
Support American English in shooting.
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -418,7 +418,7 @@ case "${text}" in
"ok, ${botname}"*)
annna-say -c "${channel}" "${user}, I am not a consumer device."
;;
-"${botname}, please shoot "*)
+"${botname}, please shoot "*|"${botname}, plese shoot "*)
word="$(printf "%s\n" "${text}" | cut -c 21-)"
annna-say -c "${channel}" "${word}, pew pew."
;;