Add Australia support to 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 8dd6bb4c39206f98be8b04c3470f7e8ff079c33d DIR parent 02300c0e853899793b5716efb59175d70d42285c HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 17 May 2022 11:25:58 +0200 Add Australia support to annna. Diffstat: M annna-message-common | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -529,6 +529,11 @@ case "${text}" in updownword="$(updown "${word}")" annna-say -s "${server}" -c "${channel}" "${word} -> ${updownword}" ;; +"${botname}, please australize "*) + word="$(printf "%s\n" "${text}" | cut -c 26-)" + updownword="$(updown "${word}")" + annna-say -s "${server}" -c "${channel}" "${word} -> ${updownword}" + ;; "${botname}, please give me a good band name.") bandname="$(bandname-gen | shuf | head -n 1)" annna-say -s "${server}" -c "${channel}" "${bandname}"