Add oh hai feature. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit df9b9a3b2ad659fe000d2ab17ce961ca8b9f7a5d | |
parent 9082227f289f726f55dc2434d7169548b46afe7d | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 23 Mar 2021 11:31:59 +0100 | |
Add oh hai feature. | |
Thanks for the proposal, adc! | |
Diffstat: | |
M annna-message-common | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -480,6 +480,9 @@ 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!") | |
annna-say -c "${channel}" "${user}, hai! How is your sex life?" | |
;; |