Add bin-friendly wheelchair aid. - 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 56f932060069f8fbbd9ff6fbd9811440ffdf35a1
(DIR) parent 3e19ca2f9fb738e7d40161447a7815080b19b7d1
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Fri, 14 Feb 2020 14:32:12 +0100
Add bin-friendly wheelchair aid.
Diffstat:
M annna-start-services | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -240,6 +240,15 @@ then
then
randomtag=1
fi
+
+ if [ "${text}" = "${botname}, what's the wheelchair shooter meme again?" ];
+ then
+ tagname="#scrollby"
+ tagline="$(printf "%s\n" "$(hashtags)" | grep "^${tagname} ")"
+ tagname="$(printf "%s\n" "${tagline}" | cut -d ' ' -f 1)"
+ taguri="$(printf "%s\n" "${tagline}" | cut -d ' ' -f 2-)"
+ annna-say -c "#bitreich-en" "${tagname}: ${taguri}"
+ fi
case "${text}" in
*\#nospoil*)