| Add sun view to annna. - annna - Annna the nice friendly bot. | |
| git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| --- | |
| commit 5e8e58582a0c0e2476728f13be0fdf76c788fabf | |
| parent 693fa3a86d44283da7f364332d1a8ca31b78423b | |
| Author: Annna Robert-Houdin <[email protected]> | |
| Date: Fri, 21 Nov 2025 16:05:00 +0100 | |
| Add sun view to annna. | |
| Diffstat: | |
| M annna-message-common | 10 ++++++++++ | |
| 1 file changed, 10 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/annna-message-common b/annna-message-common | |
| @@ -375,6 +375,16 @@ case "${IRC_PRIVMSG_TEXT}" in | |
| "${IRC_USER}, how lame is my nick?") annna-say "$(lameness "${IRC_CMD_USER}")"… | |
| "${IRC_USER}, ding"*) annna-say "${IRC_CMD_USER}, dong.";; | |
| "${IRC_USER}, irly"*) annna-say "${IRC_CMD_USER}, I love you too.";; | |
| +"${IRC_USER}, how is the sun?") | |
| + sunuri="$({ | |
| + printf "https://soho.nascom.nasa.gov/data/realtime/eit_284/512… | |
| + printf "https://soho.nascom.nasa.gov/data/realtime/eit_171/512… | |
| + printf "https://soho.nascom.nasa.gov/data/realtime/eit_304/512… | |
| + printf "https://soho.nascom.nasa.gov/data/realtime/eit_195/512… | |
| + printf "https://soho.nascom.nasa.gov/data/realtime/c2/512/late… | |
| + printf "https://soho.nascom.nasa.gov/data/realtime/c3/512/late… | |
| + } | shuf -n 1)" | |
| + annna-say "${IRC_CMD_USER}, see for yourself: ${sunuri}";; | |
| "${IRC_USER}, bleep bloop"*) annna-say "${IRC_CMD_USER}, bloop bleep." ;; | |
| "${IRC_USER}, snare"*) annna-say "${IRC_CMD_USER}, not snare again!";; | |
| "${IRC_USER}, I am mad"*) annna-say "${IRC_CMD_USER}, we have a MAD SCIENTIST … |