annna-message-common: add command to stop speak synth - annna - Annna the nice … | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 24d0816a6b1f43fc07707bbe855d22b6d225bbf3 | |
parent 21942c99e5509574e29d8e27fc360f424f75134f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 9 Aug 2024 14:31:53 +0200 | |
annna-message-common: add command to stop speak synth | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-message-common | 10 +++++++++- | |
1 file changed, 9 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -549,6 +549,14 @@ case "${text}" in | |
printf "%s\n" "${word}" | bitreich-radio-speak | |
} & | |
;; | |
+"${ircuser}, please stop speaking on the radio.") | |
+ if pkill -f bitreich-radio-speak >/dev/null 2>&1; | |
+ then | |
+ annna-say -s "${server}" -c "${channel}" "${user}, I stopped s… | |
+ else | |
+ annna-say -s "${server}" -c "${channel}" "${user}, sorry, no i… | |
+ fi | |
+ ;; | |
"${ircuser}, please hold your keynote at brcon2024.") | |
keynotefile="/home/20h/con/2024/keynote/keynote.txt" | |
annna-say -s "${server}" -c "${channel}" "Please follow gophers://bitr… | |
@@ -1106,7 +1114,7 @@ case "${text}" in | |
esac | |
msg="$(printf "%s\n" "${text}" | cut -d' ' -f 4-)" | |
printf "${msg}\n" | mosquitto_pub -L "${mqtturi}" -l | |
- ;; | |
+ ;; | |
*"zuckerberg"*|*"Zuckerberg"*) | |
annna-say -s "${server}" -c "${channel}" "${user}, did you mean cocksu… | |
;; |