Fix depressant check and some case ending style. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit c90b85959cea98eabf87efee01c0c04da62bffcc
(DIR) parent 174213dc72ec84fe6cdef55fceb3829a966457b2
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 20 Oct 2021 18:41:20 +0200
Fix depressant check and some case ending style.
Diffstat:
M annna-message-common | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -777,7 +777,7 @@ case "${text}" in
| head -n 1)"
annna-say -c "${channel}" "${user}, I think ${pick} is the best option."
;;
-"${botname}, please antidepressant #"*)
+"${botname}, please antidepressant #"*|\
"${botname}, please amsterdamify #"*|\
"${botname}, please banjo #"*|\
"${botname}, please bounce #"*|\
@@ -814,9 +814,11 @@ case "${text}" in
antidepressant)
outfile="${outfile%.*}.jpg"
outpath="${outpath%.*}.jpg"
- antidepressant "${inpath}" "${outpath}";;
+ antidepressant "${inpath}" "${outpath}"
+ ;;
*)
- ffmpeg-effect "${filter}" "${inpath}" "${outpath}";;
+ ffmpeg-effect "${filter}" "${inpath}" "${outpath}"
+ ;;
esac
if [ "${recipient}" != "${text}" ];