Add turn on command. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit ad3be125ed9ef6b3b03ed590609729f491d9f78b DIR parent 8cc3532ef5dc38c4787d12e1181d52eba9d0fd89 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Mon, 24 Jun 2019 22:41:03 +0200 Add turn on command. Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-start-services | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-start-services b/annna-start-services @@ -371,6 +371,13 @@ then ;; esac + case "${text}" in + "${botname}, please turn on "*) + word="$(printf "%s\n" "${text}" | cut -c 22-)" + annna-say -c '#bitreich-en' "☞ ⏻ ${word}" + ;; + esac + if [ "${text}" = "${botname}, I'm bored." ]; then randomlink="$(/br/bin/bitreich-lawn-random-link)"