Introduction
Introduction Statistics Contact Development Disclaimer Help
added more annna goodness - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 36cad8a633f3dc37b4f771f982e9ff8c33c66976
parent 7cd5d3bcb95fa1f98a221f4a00899f298e0e1764
Author: escapeinsert <[email protected]>
Date: Tue, 23 Feb 2021 10:37:50 -0500
added more annna goodness
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-start-services | 12 ++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -238,6 +238,10 @@ annna_common() {
"${botname}, play despacito plz.")
annna-say -c "${channel}" "${user}, gopher://bitreich.org/9/me…
;;
+ "${botname}, give ma a Chuck Norris fact.")
+ chuck=$(chucknorris)
+ annna-say -c "${channel}" "${user}, ${chuck}"
+ ;;
"${botname}, please show me ip art.")
annna-say -c "${channel}" "${user}, please see #bitreich-tv fo…
{
@@ -246,6 +250,14 @@ annna_common() {
flock $HOME/bin/modules/ip-art -c "./display-file.sh i…
} &
;;
+ "${botname}, I feel stupid.")
+ nuri=$(darwin)
+ tmpf=$(mktemp)
+ fetch-uri "${nuri}" > "${tmpf}"
+ curi="$(9 htmlfmt < "${tmpf}" | /br/bin/bitreich-paste)"
+ annna-say -c "${channel}" "${user}, do not feel stupid, others…
+ rm ${tmpf} 2>/dev/null
+ ;;
"${botname}, I feel down.")
postmortem="$(post-mortem | /br/bin/bitreich-paste)"
annna-say -c "${channel}" "${user}, do not feel bad, others ha…
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.