Add email finds you support. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 9e80f78d1c6653d3f1f339e76884e2a6041e266a DIR parent 6f396182fda4c0beeb235d3f8fa0b77a10d66a57 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 15 Apr 2025 06:11:49 +0200 Add email finds you support. Diffstat: M annna-message-common | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -1281,6 +1281,13 @@ case "${text}" in annna-say -s "${server}" -c "${channel}" "${eightballanswer}" fi ;; +"${ircuser}, email "*) + findsyou="$(shuf -n 1 "${modbase}/finds-you/finds_you.txt")" + if [ -n "${findsyou}" ]; + then + annna-say -s "${server}" -c "${channel}" "${user}, I hope this email ${findsyou}" + fi + ;; "${ircuser}, please throw a coin for me.") case "$((($RANDOM % 2) + 1))" in 1)