Introduction
Introduction Statistics Contact Development Disclaimer Help
Allow zuckerberg emojis. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 1b78c6834596d8d7e97db4619c7d69a03e88a99e
parent 47e49b546f35cce6036c4af217053ac90c95c504
Author: Annna Robert-Houdin <[email protected]>
Date: Fri, 1 Jul 2022 20:34:06 +0200
Allow zuckerberg emojis.
Diffstat:
M annna-message-common | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -195,7 +195,18 @@ case "${text}" in
;;
esac
-
+case "${text}" in
+::*::)
+ {
+ emojiuri="$(dalle-gen-emoji "${text}")"
+ if [ -n "${emojiuri}" ];
+ then
+ annna-say -s "${server}" -c "${channel}" "${emojiuri}"
+ fi
+ } &
+ exit 0
+ ;;
+esac
case "${text}" in
"Thanks ${botname}"*)
@@ -992,15 +1003,6 @@ then
fi
case "${text}" in
-::*::)
- {
- emojiuri="$(dalle-gen-emoji "${text}")"
- if [ -n "${emojiuri}" ];
- then
- annna-say -s "${server}" -c "${channel}" "${emojiuri}"
- fi
- } &
- ;;
*\#nospoil*)
;;
*rfc[0-9]*)
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.