From a67410a46c5f748160d5ba81e2222101843f6649 Mon Sep 17 00:00:00 2001 From: nex Date: Mon, 13 Nov 2023 19:37:21 +0000 Subject: [PATCH] Implement context better --- cogs/other.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cogs/other.py b/cogs/other.py index a58de82..7455b65 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -2143,13 +2143,15 @@ class OtherCog(commands.Cog): name="Timings", value=value ) - if context: - embed.add_field( - name="Context", - value=f"```\n{context}\n```"[:1024], - inline=False - ) await msg.edit(content=None, embed=embed, view=None) + if context: + await ctx.respond( + "Context:\n" + "```\n" + f"{context}\n" + "```", + ephemeral=True + ) self.ollama_locks.pop(msg, None)