Introduction
Introduction Statistics Contact Development Disclaimer Help
Only generate recipe pictures, if bitreich isn't burning - annna - Annna the ni…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 8661929e353a4ab21981590b0a935dd44352f239
parent 4c2af11a6666a2e715631d81000616ec676f2bc0
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 6 Apr 2025 16:27:09 +0200
Only generate recipe pictures, if bitreich isn't burning
Diffstat:
M annna-message-common | 34 ++++++++++++++++++-----------…
1 file changed, 20 insertions(+), 14 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -743,13 +743,16 @@ case "${text}" in
if [ -n "${gptchefrecipe}" ];
then
annna-say -s "${server}" -c "${channel}" "${user}, the…
- {
- emojiuri="$(stable-diffusion-emoji "${gptchefr…
- if [ -n "${emojiuri}" ];
- then
- annna-say -s "${server}" -c "${channel…
- fi
- } &
+ if [ $(pgrep -f stable-diffusion-emoji 2>/dev/null | w…
+ then
+ {
+ emojiuri="$(stable-diffusion-emoji "${…
+ if [ -n "${emojiuri}" ];
+ then
+ annna-say -s "${server}" -c "$…
+ fi
+ } &
+ fi
else
annna-say -s "${server}" -c "${channel}" "${user}, I c…
fi
@@ -1101,13 +1104,16 @@ case "${text}" in
if [ -n "${gptchefrecipe}" ];
then
annna-say -s "${server}" -c "${channel}" "${user}, ${g…
- {
- emojiuri="$(stable-diffusion-emoji "${gptchefr…
- if [ -n "${emojiuri}" ];
- then
- annna-say -s "${server}" -c "${channel…
- fi
- } &
+ if [ $(pgrep -f stable-diffusion-emoji 2>/dev/null | w…
+ then
+ {
+ emojiuri="$(stable-diffusion-emoji "${…
+ if [ -n "${emojiuri}" ];
+ then
+ annna-say -s "${server}" -c "$…
+ fi
+ } &
+ fi
else
annna-say -s "${server}" -c "${channel}" "${user}, I h…
fi
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.