Use the same embed for response and edits
This commit is contained in:
parent
f29e80eb95
commit
da96d818a3
1 changed files with 2 additions and 2 deletions
|
@ -954,12 +954,12 @@ class Ollama(commands.Cog):
|
|||
)
|
||||
|
||||
messages = self.history.get_history(thread)
|
||||
embed = discord.Embed(description=">>> ")
|
||||
embed = discord.Embed(description="*waiting...*")
|
||||
embed.add_field(
|
||||
name="\u200b",
|
||||
value="[in reply to message from {0.author.display_name}]({0.jump_url})".format(message),
|
||||
)
|
||||
await ctx.respond(embed=discord.Embed(description="*waiting...*"))
|
||||
await ctx.respond(embed=embed)
|
||||
last_edit = time.time()
|
||||
with client.new_chat("orca-mini:3b", messages) as handler:
|
||||
async for ln in handler:
|
||||
|
|
Loading…
Reference in a new issue