Introduction
Introduction Statistics Contact Development Disclaimer Help
Reshuffle meme command to non-members and add meme list command. - annna - Annn…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 967ff693bc1972dd98442c9493d1ac635a636803
parent 05785a1cd17d736a804f581265405d0158d57f10
Author: Annna Robert-Houdin <[email protected]>
Date: Thu, 16 Jan 2020 17:49:15 +0100
Reshuffle meme command to non-members and add meme list command.
Diffstat:
M annna-start-services | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -277,6 +277,19 @@ then
done
fi
+ if [ "${text}" = "${botname}, how many memes do you know?" ];
+ then
+ annna-say -c "#bitreich-en" "I know $(hashtagcount) me…
+ continue;
+ fi
+
+ if [ "${text}" = "${botname}, please show me your memes." ];
+ then
+ purl="$(printf "%s" "$(hashtags)" | /br/bin/bitreich-p…
+ annna-say -c "#bitreich-en" "Here are my memes: ${purl…
+ continue;
+ fi
+
ismember=0
for member in $brmembers;
do
@@ -338,12 +351,6 @@ then
continue;
fi
- if [ "${text}" = "${botname}, how many memes do you know?" ];
- then
- annna-say -c "#bitreich-en" "I know $(hashtagcount) me…
- continue;
- fi
-
if [ "${text}" = "${botname}, can you show me the uptime pleas…
then
annna-say -c "#bitreich-en" "$(hostname) uptime: $(upt…
@@ -438,7 +445,9 @@ then
if [ "${text}" = "${botname}, please help." ];
then
# TODO: Add multiple line support to annna-say -c(1) w…
- annna-say -c "${user}" "�how many memes do you know?«…
+ annna-say -c "${user}" "»how many memes do you know?�…
+ sleep 0.5
+ annna-say -c "${user}" "»please show me your memes.«…
sleep 0.5
annna-say -c "${user}" "»can you show me the uptime p…
sleep 0.5
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.