Add victims support to annna. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 251469400d8dd65842d8f233fce71b7ed35298be | |
parent 7b0798cc5b8b299d1262ba85324e88a8dc66ca60 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 28 Jun 2020 14:02:10 +0200 | |
Add victims support to annna. | |
Diffstat: | |
M annna-start-services | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -374,6 +374,10 @@ annna_common() { | |
puri="$(printf "%s" "$(hashtags)" | /br/bin/bitreich-paste)" | |
annna-say -c "${channel}" "Here are my memes: ${puri}" | |
;; | |
+ "${botname}, please show me the victims.") | |
+ puri="$(printf "%s" "$(hashtags)" | grep victim | /br/bin/bitr… | |
+ annna-say -c "${channel}" "Here are the victims: ${puri}" | |
+ ;; | |
"${botname}, please distro-hop with me.") | |
ndistro="$(curl -s 'https://distrowatch.com/dwres.php?resource… | |
| grep phr2 \ | |
@@ -486,6 +490,8 @@ annna_common() { | |
sleep 0.5 | |
annna-say -c "${user}" "»please show me your memes.« gets yo… | |
sleep 0.5 | |
+ annna-say -c "${user}" "»please show me the victims.« gets y… | |
+ sleep 0.5 | |
annna-say -c "${user}" "»can you show me the uptime please?«… | |
sleep 0.5 | |
annna-say -c "${user}" "»please show me the load, ${user}." |