From 4ba6e64403b152e8e130ed20124815a32819b000 Mon Sep 17 00:00:00 2001 From: Dory Date: Fri, 22 Aug 2025 18:07:25 -0700 Subject: [PATCH] fixed newchat response when there's no prompt --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index a953c64..83a5dc5 100644 --- a/bot.py +++ b/bot.py @@ -162,7 +162,8 @@ async def newchat(interaction: discord.Interaction, prompt: str = None): channel_id, args.base_url, bot.db, prompt ) await interaction.followup.send( - f'Starting a new chat with {conversation.bot_name}: "{prompt}"' + f'Starting a new chat with {conversation.bot_name}: ' + f'"{conversation.history[0]["content"]}"' ) @bot.tree.command(