Introduction
Introduction Statistics Contact Development Disclaimer Help
add bitreichcoin mining - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 7b91d31c480738d19353332eed1f0afd3452c8f9
parent 0d0634f63513750314b6921c2fe692fd4ea9ca5e
Author: Anders Damsgaard <[email protected]>
Date: Sat, 5 Feb 2022 21:23:38 +0100
add bitreichcoin mining
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-message-common | 6 ++++++
A bitreichcoin | 20 ++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -883,6 +883,12 @@ case "${text}" in
fi
} &
;;
+"${botname}, please mine "*" bitreichcoin"*)
+ q="${text#* please mine }"
+ q="${q% bitreichcoin*}"
+ curi="$(bitreichcoin "$q" | /br/bin/bitreich-paste)"
+ annna-say -s "${server}" -c "${channel}" "${user}, please don't spend …
+ ;;
"${botname}, please help.")
# Help Message.
# TODO: Add multiple line support to annna-say -s "${server}" -c(1) wi…
diff --git a/bitreichcoin b/bitreichcoin
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+brc='
+ *__*
+ * /_ | *
+ * | | *
+ * |_| *
+ * BRC *
+ * *'
+
+if test $# -gt 0
+then
+ i="$1"
+ printf 'here are your %d BRC:\n' "$i"
+ while test "$i" -gt 0
+ do
+ echo "$brc"
+ i="$((i - 1))"
+ done
+fi
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.