Give annna a shooting license. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit eac85146c950fe8b9f6c49e4133482a49d68507e | |
parent abe9303ebe07bcb2a435f70528a98b4bef11ecdd | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 25 May 2020 19:53:54 +0200 | |
Give annna a shooting license. | |
Diffstat: | |
M annna-start-services | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -268,6 +268,10 @@ annna_common() { | |
esac | |
case "${text}" in | |
+ "${botname}, please shoot "*) | |
+ word="$(printf "%s\n" "${text}" | cut -c 21-)" | |
+ annna-say -c "${channel}" "${word}, pew pew." | |
+ ;; | |
"${botname}, please turn on "*) | |
word="$(printf "%s\n" "${text}" | cut -c 22-)" | |
annna-say -c "${channel}" "☞ ⏻ ${word}" |