Add ip art command to annna. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit b7ff41e72129ae5a4c048420f7b4a31417e195e3 | |
parent d01040bed8eecd7ac7dcf63424a6c6292807ca33 | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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/me… | |
;; | |
+ "${botname}, please show me ip art.") | |
+ annna-say -c "${channel}" "${user}, please see #bitreich-tv fo… | |
+ { | |
+ cd $HOME/bin/modules/ip-art; | |
+ # Lock, so only one annna process manipulates eth0. | |
+ flock $HOME/bin/modules/ip-art -c "./display-file.sh i… | |
+ } & | |
+ ;; | |
"${botname}, birp.") | |
birdname="$(bird-name)" | |
annna-say -c "${channel}" "${user}, I heard a ${birdname} bird… |