Add new channels and #coc. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit f7ce8e1dcafe1b11ffda17b111573018ca3b692b | |
parent 7c319e2a87af3806a19e5e5eeab92e71f5497e18 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 31 Dec 2018 21:41:47 +0100 | |
Add new channels and #coc. | |
Diffstat: | |
M annna-start-main | 3 ++- | |
M annna-start-services | 9 +++++++++ | |
M phlog-index | 2 +- | |
3 files changed, 12 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/annna-start-main b/annna-start-main | |
@@ -7,7 +7,8 @@ export PATH="$PATH:/home/annna/bin" | |
# #bitreich-scm #bitreich-en #bitreich-de" | |
channels="#bitreich-con #bitreich-radio | |
#bitreich-scm #bitreich-en #bitreich-de | |
- #bitreich-fr #bitreich-cooking" | |
+ #bitreich-fr #bitreich-cooking | |
+ #bitreich-nl #bitreich-lawn" | |
# Testing | |
#channels="#bitreich-radio" | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -32,6 +32,7 @@ hashtags="#magic https://www.youtube.com/watch?v=NFQCYpIHLNQ | |
#fakenews https://www.youtube.com/watch?v=GuOTDbdJ94Q | |
#gentoo https://www.youtube.com/watch?v=VjGSMUep6_4 | |
#netherlands https://www.youtube.com/embed/QBSELrm2-g0 | |
+ #coc https://youtu.be/tRR4v_qERsg?t=82 | |
#mac https://www.youtube.com/embed/FhWtJ2OwZ4A" | |
botname="annna" | |
@@ -200,6 +201,14 @@ then | |
then | |
newsstr="$(ecl -shell /home/solene/gopher/bin/generato… | |
annna-say -c "#bitreich-en" "$newsstr" | |
+ continue; | |
+ fi | |
+ | |
+ if [ "${text}" = "${botname}, I feel sick." ]; | |
+ then | |
+ newsstr="$(cd /br/gopher/hypochondria && ./hypochondri… | |
+ annna-say -c "#bitreich-en" "You could have ${newsstr}… | |
+ continue; | |
fi | |
if [ "${text}" = "${botname}, oh hai!" ]; | |
diff --git a/phlog-index b/phlog-index | |
@@ -14,7 +14,7 @@ fi | |
base="$HOME/phlogs" | |
cache="$base/cache" | |
gopherbase="/usr/%s/phlog/%s" | |
-ircchans="#bitreich-en #bitreich-de #bitreich-fr #bitreich-con" | |
+ircchans="#bitreich-en #bitreich-de #bitreich-fr #bitreich-nl #bitreich-con" | |
find /home/*/gopher/phlog \ | |
-name "*.md" \ |