From 97af56db2b21ec3ca390d96971a98ac5f5c7c1b9 Mon Sep 17 00:00:00 2001 From: Kaveen Kumarasinghe Date: Fri, 17 Mar 2023 15:33:58 -0400 Subject: [PATCH] tentatively stable --- cogs/text_service_cog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/text_service_cog.py b/cogs/text_service_cog.py index 6edbd7e..6dd6ee6 100644 --- a/cogs/text_service_cog.py +++ b/cogs/text_service_cog.py @@ -371,7 +371,7 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): await ctx.channel.send( embed=EmbedStatics.generate_end_embed(), - view=ShareView(self, ctx.channel.id), + view=ShareView(self, ctx.channel.id) if thread else None, ) # Close all conversation threads for the user @@ -1086,7 +1086,7 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): embed_title = f"{user.name}'s conversation with GPT" embed = discord.Embed(title=embed_title, color=0x808080) - await ctx.send(embed=embed) + await ctx.respond(embed=embed)