Add ip art command 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 b7ff41e72129ae5a4c048420f7b4a31417e195e3 DIR parent d01040bed8eecd7ac7dcf63424a6c6292807ca33 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 3 Jan 2021 00:51:47 +0100 Add ip art command to annna. Diffstat: M annna-start-services | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-start-services b/annna-start-services @@ -224,6 +224,14 @@ annna_common() { "${botname}, play despacito plz.") annna-say -c "${channel}" "${user}, gopher://bitreich.org/9/memecache/despacito.mkv" ;; + "${botname}, please show me ip art.") + annna-say -c "${channel}" "${user}, please see #bitreich-tv for the magic." + { + cd $HOME/bin/modules/ip-art; + # Lock, so only one annna process manipulates eth0. + flock $HOME/bin/modules/ip-art -c "./display-file.sh ip-art.ipart" + } & + ;; "${botname}, birp.") birdname="$(bird-name)" annna-say -c "${channel}" "${user}, I heard a ${birdname} bird."