Introduction
Introduction Statistics Contact Development Disclaimer Help
Add annna bird recognition skill. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 817893d1bd92be465e2b5fad76172a22e7cb8957
parent 16c27d94d49d535e49f1e1b55a0e50c705752c3c
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 2 Jan 2021 22:04:27 +0100
Add annna bird recognition skill.
Diffstat:
M annna-start-services | 4 ++++
M bird-name | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -224,6 +224,10 @@ annna_common() {
"${botname}, play despacito plz.")
annna-say -c "${channel}" "${user}, gopher://bitreich.org/9/me…
;;
+ "${botname}, birp.")
+ birdname="$(bird-name)"
+ annna-say -c "${channel}" "${user}, I heard a ${birdname} bird…
+ ;;
"${botname}, please oneline me.")
randomoneliner="$(oneliner)"
if [ -z "${randomoneliner}" ];
diff --git a/bird-name b/bird-name
@@ -3,8 +3,6 @@
# Original code by josuah. Thanks!
#
-set -x
-
birdsrc="https://www.birds.cornell.edu/clementschecklist/wp-content/uploads/20…
# Cache dir for bird name csv.
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.