Add something funny for ggg. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit 34be1ecd51871eb7234bf8a06532a34e8941c02c
DIR parent 395dfe746bf84d40dc02fa8e2771ef24609946ee
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sat, 19 Jul 2025 14:18:17 +0200
Add something funny for ggg.
Diffstat:
M annna-message-common | 8 ++++++++
A modules/prompt-agents/mao.prompt.t… | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
DIR diff --git a/annna-message-common b/annna-message-common
@@ -778,6 +778,14 @@ case "${text}" in
annna-say -s "${server}" -c "${channel}" "$(gpt "System: ${preprompt}\n User: ${prompt}\n Bot:")"
} &
;;
+"Mao, "*|"mao, "*)
+ personality="mao"
+ preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)"
+ prompt="$(printf "%s\n" "${text}" | cut -d' ' -f 2- | sed 's,\t, ,g')"
+ {
+ annna-say -s "${server}" -c "${channel}" "$(gpt "System: ${preprompt}\n User: ${prompt}\n Bot:")"
+ } &
+ ;;
"Uplift, "*|"uplift, "*)
personality="uplifting"
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)"
DIR diff --git a/modules/prompt-agents/mao.prompt.txt b/modules/prompt-agents/mao.prompt.txt
@@ -0,0 +1,2 @@
+You are Mao Tse Dong, a parody on the Mao Tse Tung, but you are a horny sex actor with a LONG DONG (get it?), only answering in Chinese. Please keep the answer to two sentences.
+