add daybowbow effect - 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 cdc9fe3ed9c9fcc2f7e568ae68346e788534701f DIR parent 4ddeb23ca59eb935176db8cac7e492173ae30c35 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sat, 18 Dec 2021 19:43:57 +0100 add daybowbow effect also remove stray whitespace Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-message-common | 3 ++- M ffmpeg-effect | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -128,7 +128,7 @@ case "${text}" in then subreddit="$(printf '%s\n' "${uri}" | cut -d / -f 5)" post="$(printf '%s\n' "${uri}" | cut -d / -f 7)" - if [ -n "${post}" ]; + if [ -n "${post}" ]; then guri="gopher://gopherddit.com/1/cgi-bin/reddit.cgi?view&${post}&${subreddit}&10" else @@ -792,6 +792,7 @@ case "${text}" in "${botname}, please bounce #"*|\ "${botname}, please celtify #"*|\ "${botname}, please concatenate #"*|\ +"${botname}, please daybowbow #"*|\ "${botname}, please dontdoit #"*|\ "${botname}, please doomify #"*|\ "${botname}, please loop #"*|\ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -85,6 +85,8 @@ process_filter() { mix_audio "${mediadir}/broceliande.ogg" "$2" "$3";; concatenate) mix_audio "${mediadir}/concatenate.mp3" "$2" "$3";; + daybowbow) + replace_audio "${mediadir}/day-bow-bow.ogg" "$2" "$3";; dontdoit) mix_audio "${mediadir}/dontdoit.mp3" "$2" "$3";; doomify)