Broaden the the exclamation support in annna. - 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 b52d60cdecb35f5bd6834f0c5de11c556bbdbe2b DIR parent c607a934af16fa4dd916e632649f8e1d94604505 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sat, 7 Jan 2023 21:37:13 +0100 Broaden the the exclamation support in annna. Diffstat: M annna-message-common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -219,8 +219,9 @@ case "${text}" in esac case "${text}" in -"${ircuser}.") - annna-say -s "${server}" -c "${channel}" "${user}." +"${ircuser}"?) + exclamation="$(printf "${text}\n" | sed "s,${ircuser}\(.\),\1,g")" + annna-say -s "${server}" -c "${channel}" "${user}${exclamation}" ;; *"<3"*) annna-say -s "${server}" -c "${channel}" "*o.o*"