Add love 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 9e9061b99941618c3948a5231e815fb92b2b877f
(DIR) parent 8f284258a5b90f176b5b59d5385377556664d653
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 31 Jul 2024 19:59:23 +0200
Add love to annna.
Diffstat:
M annna-message-common | 4 ++++
A modules/love/love.txt | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -287,6 +287,7 @@ case "${text}" in
annna-say -s "${server}" -c "${channel}" "${user}${finalexclamation}"
;;
*"<3"*)
+ love "${user}++"
annna-say -s "${server}" -c "${channel}" "*o.o*"
;;
"Thanks ${ircuser}"*)
@@ -316,6 +317,9 @@ case "${text}" in
"${ircuser}, what the karma?")
annna-say -s "${server}" -c "${channel}" "${user}, gophers://bitreich.org/1/irc/karma"
;;
+"${ircuser}, who is lovely?")
+ annna-say -s "${server}" -c "${channel}" "${user}, gophers://bitreich.org/1/irc/love"
+ ;;
"${ircuser}, what the brcon score?")
annna-say -s "${server}" -c "${channel}" "${user}, gophers://bitreich.org/1/con/$(date +%Y)/score"
;;
(DIR) diff --git a/modules/love/love.txt b/modules/love/love.txt
@@ -0,0 +1 @@
+__20h__ 1