From 15ed8d93c6b6842786f51d31216a203db1a8925c Mon Sep 17 00:00:00 2001 From: phixxy Date: Sat, 4 May 2024 16:08:28 -0700 Subject: [PATCH] attempt to not use hashtags --- cogs/llama.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/llama.py b/cogs/llama.py index 82a5199..2712181 100644 --- a/cogs/llama.py +++ b/cogs/llama.py @@ -139,7 +139,7 @@ class Llama(commands.Cog): async def chat_response(self, message, channel_vars, chat_history_string): async with message.channel.typing(): await asyncio.sleep(1) - prompt = f"You are a {channel_vars['personality']} chat bot named Sparkytron 3000 created by @phixxy.com. Your personality should be {channel_vars['personality']}. You are currently in a {channel_vars['channel_topic']} chatroom. Only write a response to the last message! Do not put hashtags at the end of your message! The message history is: {chat_history_string}\nSparkytron 3000: " + prompt = f"You are a {channel_vars['personality']} chat bot named Sparkytron 3000 created by @phixxy.com. Your personality should be {channel_vars['personality']}. You are currently in a {channel_vars['channel_topic']} chatroom. Only write a response to the last message! DO NOT USE HASHTAGS! The message history is: {chat_history_string}\nSparkytron 3000: " response = await self.question_llama(prompt) if "Sparkytron 3000:" in response[0:17]: response = response.replace("Sparkytron 3000:", "")