Add more German shark support - 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 0b6152220502055c84ed791dd92b3666feb1205e
(DIR) parent 15764f1919c4e6fd6e54d5a99e21ab8e5ef119b9
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 31 Mar 2021 20:56:11 +0200
Add more German shark support
Diffstat:
M annna-message-common | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -480,10 +480,7 @@ case "${text}" in
newsstr="$(cd /br/gopher/hypochondria && ./hypochondria -s random)"
annna-say -c "${channel}" "You could have ${newsstr}! Be careful!"
;;
-*"oh hai"*)
- annna-say -c "${channel}" "${user}, hai! How is your sex life?"
- ;;
-"${botname}, oh hai!")
+*"oh hai"*|*"ohai"*|*"ohhai"*)
annna-say -c "${channel}" "${user}, hai! How is your sex life?"
;;
"${botname}, please tech hype me.")