Add magic 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 b84cff428a6f7fe86c9f5681e41222f3a8b41d2a DIR parent b16bc2b17c8ba7accf7ff656f5bac3d64b99141c HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 30 Jul 2024 21:44:59 +0200 Add magic to annna. Diffstat: M annna-message-common | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -425,6 +425,13 @@ case "${text}" in chuck=$(chucknorris) annna-say -s "${server}" -c "${channel}" "${user}, ${chuck}" ;; +"${ircuser}, magic.") + magictrick="$(magic)" + if [ -n "${magictrick}" ]; + then + annna-say -s "${server}" -c "${channel}" "${user}, ${magictrick}" + fi + ;; "${ircuser}, please show me ip art.") annna-say -s "${server}" -c "${channel}" "${user}, please see #bitreich-tv for the magic." {