Add lameness 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 020744f3863e1d5a8cd1f52f0c707efd7cf0da27 DIR parent 620b6da037bb3ab092a144496dae42add7c3f2a6 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 25 Aug 2024 14:44:32 +0200 Add lameness support. Diffstat: M annna-message-common | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -334,6 +334,10 @@ case "${text}" in "${ircuser}, ping.") annna-say -s "${server}" -c "${channel}" "${user}, pong." ;; +"${ircuser}, how lame is my nick?") + lamenessstr="$(lameness "${user}")" + annna-say -s "${server}" -c "${channel}" "${lamenessstr}" + ;; "${ircuser}, ding.") annna-say -s "${server}" -c "${channel}" "${user}, dong." ;;