add daybowbow effect - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit cdc9fe3ed9c9fcc2f7e568ae68346e788534701f | |
parent 4ddeb23ca59eb935176db8cac7e492173ae30c35 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sat, 18 Dec 2021 19:43:57 +0100 | |
add daybowbow effect | |
also remove stray whitespace | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-message-common | 3 ++- | |
M ffmpeg-effect | 2 ++ | |
2 files changed, 4 insertions(+), 1 deletion(-) | |
--- | |
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 /… | |
post="$(printf '%s\n' "${uri}" | cut -d / -f 7… | |
- if [ -n "${post}" ]; | |
+ if [ -n "${post}" ]; | |
then | |
guri="gopher://gopherddit.com/1/cgi-bi… | |
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 #"*|\ | |
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) |