Display which message is being replied to
This commit is contained in:
parent
d05582dee4
commit
f29e80eb95
1 changed files with 4 additions and 0 deletions
|
@ -955,6 +955,10 @@ class Ollama(commands.Cog):
|
|||
|
||||
messages = self.history.get_history(thread)
|
||||
embed = discord.Embed(description=">>> ")
|
||||
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...*"))
|
||||
last_edit = time.time()
|
||||
with client.new_chat("orca-mini:3b", messages) as handler:
|
||||
|
|
Loading…
Reference in a new issue