Introduction
Introduction Statistics Contact Development Disclaimer Help
Add painting. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 847738a47d244d1043182fd8645119a0d90e965a
parent 2287e4a68527e81dae3fce67d6df63941d35633b
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 22 Jul 2025 19:41:56 +0200
Add painting.
* Replace # in emojis because curl hates it.
Diffstat:
M annna-message-common | 7 +++++++
M stable-diffusion-emoji | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -633,6 +633,13 @@ case "${text}" in
commitmsg="$(whatthecommit)"
annna-say -s "${server}" -c "${channel}" "${commitmsg}"
;;
+"${ircuser}, please paint the irc channel.")
+ emojiuri="$(emoji-channel-history "${ircbase}/${server}/${channel}")"
+ if [ -n "${emojiuri}" ];
+ then
+ annna-say -s "${server}" -c "${channel}" "${emojiuri}"
+ fi
+ ;;
"${ircuser}, birp.")
birdname="$(bird-name)"
annna-say -s "${server}" -c "${channel}" "${user}, I heard a ${birdnam…
diff --git a/stable-diffusion-emoji b/stable-diffusion-emoji
@@ -20,6 +20,7 @@ emojifilebase="$(printf "%s\n" "${emojiprompt}" \
| cut -c -64 \
| sed "s,',-,g" \
| sed "s,?,-,g" \
+ | sed "s,#,-,g" \
| sed 's, ,-,g')"
emojifile="${emojifilebase}.png"
emojiorig="${emojifilebase}.orig"
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.