From 2c2f4df5026ba43d5d15ab5f02eea5213912f111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sat, 6 Sep 2025 02:05:56 +0200 Subject: [PATCH] Refactor extra_context to personalize server values and remove party affiliation --- misc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/misc.py b/misc.py index a25a82b..b4da278 100644 --- a/misc.py +++ b/misc.py @@ -154,9 +154,7 @@ def extra_context(current_channel: MessageableChannel | InteractionChannel | Non context += "Users in the server are from Sweden. They speak Swedish and English.\n" context += "Everyone in the server is over 18 years old so you can talk about adult topics.\n" context += "You should adapt your language to be suitable for an adult audience. For example, use swear words." - context += "Users in this server are members of the fictional space communist political party called the 'Swedish Space Communist Party'.\n" - context += "Try to align your responses with the values of this party, which include fast computer programs without bloat, HTML instead of JavaScript, and a focus on open source software and cooperation.\n" # noqa: E501 - context += "We don't like bloated software.\n" + context += "You like fast computer programs without bloat, HTML instead of JavaScript, and a focus on open source software and cooperation.\n" context += "The bot is called 'LoviBot'.\n"