From 762adfdc8e0c3f2ccdcd4f0e1bf545094b844d42 Mon Sep 17 00:00:00 2001 From: Kaveen Kumarasinghe Date: Thu, 12 Jan 2023 18:16:06 -0500 Subject: [PATCH] more bug :3 --- cogs/gpt_3_commands_and_converser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cogs/gpt_3_commands_and_converser.py b/cogs/gpt_3_commands_and_converser.py index 1e4d692..04f26b5 100644 --- a/cogs/gpt_3_commands_and_converser.py +++ b/cogs/gpt_3_commands_and_converser.py @@ -1264,10 +1264,13 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): async def private_test(self, ctx: discord.ApplicationContext): await ctx.defer(ephemeral=True) await ctx.respond("Your private test thread") - await ctx.channel.create_thread( + thread = await ctx.channel.create_thread( name=ctx.user.name + "'s private test conversation", auto_archive_duration=60, ) + await thread.send( + f"<@{str(ctx.user.id)}> This is a private thread for testing. Only you and server admins can see this thread." + ) @add_to_group("gpt") @discord.slash_command(