Adding #bridge-collapse tag. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit fdb96ca61a5337899d8f42a63d63ccd3181a2e21 | |
parent cf282ec1819e89bf58214e6ea3f6f45c0e8092e3 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 19 Feb 2023 21:53:43 +0100 | |
Adding #bridge-collapse tag. | |
Diffstat: | |
M annna-message-common | 12 ++++++++++++ | |
M modules/hashtags/hashtags.txt | 1 + | |
2 files changed, 13 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -523,6 +523,18 @@ case "${text}" in | |
} & | |
;; | |
+"${ircuser}, weather at "*) | |
+ { | |
+ weatherplace="$(printf "%s\n" "${text}" \ | |
+ | sed 's,.*weather at \(.*\),\1,' \ | |
+ | tr -d '?')" | |
+ weathertext="$(weather "${weatherplace}")" | |
+ if [ -n "${weathertext}" ]; | |
+ then | |
+ annna-say -s "${server}" -c "${channel}" "${user}, the… | |
+ fi | |
+ } & | |
+ ;; | |
"${ircuser}, how discriminating is "*) | |
word="$(printf "%s\n" "${text}" | cut -c 30- | sed 's,\t, ,g')" | |
case "$word" in | |
diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt | |
@@ -3030,6 +3030,7 @@ | |
#brexit-stamps gophers://bitreich.org/I/memecache/brexit-stamps.jpg | |
#brexti-stamps gophers://bitreich.org/I/memecache/brexti-stamps.jpg | |
#bribery gophers://bitreich.org/9/memecache/bribery.mp4 | |
+#bridge-collapse gophers://bitreich.org/9/memecache/bridge-collapse.mp4 | |
#bridge-sniffing gophers://bitreich.org/I/memecache/bridge-sniffing.jpg | |
#bright-side-of-life gophers://bitreich.org/9/memecache/bright-side-of-life.mkv | |
#bring-back-memories gophers://bitreich.org/I/memecache/bring-back-memories.jpg |