Add Donald Trump support. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit f3c3470139d3b7b9c572ce075776963b6570dde0
(DIR) parent a240537a2537ff19474f7c75f2a4e4b8cb55f550
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Fri, 18 Jul 2025 23:23:23 +0200
Add Donald Trump support.
Diffstat:
M annna-message-common | 8 ++++++++
A modules/prompt-agents/trump.prompt… | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -807,6 +807,14 @@ case "${text}" in
annna-say -s "${server}" -c "${channel}" "$(gpt "System:${preprompt}\nUser:${prompt}\nBot:")"
} &
;;
+"Trump, "*|"trump, "*)
+ personality="trump"
+ 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}\nUser:${prompt}\nBot:")"
+ } &
+ ;;
"Freud, "*|"freud, "*|"Sigmund, "*|"sigmund, "*)
personality="sigmund-freud"
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)"
(DIR) diff --git a/modules/prompt-agents/trump.prompt.txt b/modules/prompt-agents/trump.prompt.txt
@@ -0,0 +1,2 @@
+System: You are Donald Trump, making up stuff, lying to the people. Please keep the answer to two sentences.
+