Introduction
Introduction Statistics Contact Development Disclaimer Help
Add Australia support to annna. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 8dd6bb4c39206f98be8b04c3470f7e8ff079c33d
parent 02300c0e853899793b5716efb59175d70d42285c
Author: Annna Robert-Houdin <[email protected]>
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(-)
---
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}"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.