fixed newchat response when there's no prompt
This commit is contained in:
1 parent
fd08420f26
commit
4ba6e64403
1 file changed
+2
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user