Give annna a shooting license. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit eac85146c950fe8b9f6c49e4133482a49d68507e
(DIR) parent abe9303ebe07bcb2a435f70528a98b4bef11ecdd
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
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(-)
---
(DIR) 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}"