Add annna bird recognition skill. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 817893d1bd92be465e2b5fad76172a22e7cb8957 DIR parent 16c27d94d49d535e49f1e1b55a0e50c705752c3c HTML Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- DIR 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/memecache/despacito.mkv" ;; + "${botname}, birp.") + birdname="$(bird-name)" + annna-say -c "${channel}" "${user}, I heard a ${birdname} bird." + ;; "${botname}, please oneline me.") randomoneliner="$(oneliner)" if [ -z "${randomoneliner}" ]; DIR 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/2019/08/eBird_Taxonomy_v2019.csv" # Cache dir for bird name csv.