Add new wave support to annna. - 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 b0a0a9157d1f256bb8e9991443a9d64d16f3257d
(DIR) parent 2639887ee1debdbcac836cf2b0bfe555fe6db239
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Mon, 31 May 2021 18:20:11 +0200
Add new wave support to annna.
Diffstat:
M annna-message-common | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -499,6 +499,9 @@ case "${text}" in
*"oh hai"*|*"ohai"*|*"ohhai"*)
annna-say -c "${channel}" "${user}, hai! How is your sex life?"
;;
+*"*waves*"*|*"*wave*"*)
+ annna-say -c "${channel}" "${user}, *wave*"
+ ;;
"${botname}, please tech hype me.")
techstr="$(${modbase}/markov_tech/markov)"
annna-say -c "${channel}" "${techstr}"