Introduction
Introduction Statistics Contact Development Disclaimer Help
Add turn on command. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit ad3be125ed9ef6b3b03ed590609729f491d9f78b
parent 8cc3532ef5dc38c4787d12e1181d52eba9d0fd89
Author: Christoph Lohmann <[email protected]>
Date: Mon, 24 Jun 2019 22:41:03 +0200
Add turn on command.
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-start-services | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
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)"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.