Fix depressant check and some case ending style. - annna - Annna the nice frien… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit c90b85959cea98eabf87efee01c0c04da62bffcc | |
parent 174213dc72ec84fe6cdef55fceb3829a966457b2 | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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}" "${outpa… | |
+ ffmpeg-effect "${filter}" "${inpath}" "${outpa… | |
+ ;; | |
esac | |
if [ "${recipient}" != "${text}" ]; |