From ba99f2a3ee74305cc3d4f79c33b704748c448817 Mon Sep 17 00:00:00 2001 From: Kaveen Kumarasinghe Date: Sat, 17 Dec 2022 01:49:57 -0500 Subject: [PATCH] fix for clear convo threads --- cogs/gpt_3_commands_and_converser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/gpt_3_commands_and_converser.py b/cogs/gpt_3_commands_and_converser.py index 1217a2d..9f28325 100644 --- a/cogs/gpt_3_commands_and_converser.py +++ b/cogs/gpt_3_commands_and_converser.py @@ -75,8 +75,8 @@ class GPT3ComCon(commands.Cog, name='GPT3ComCon'): for guild in self.bot.guilds: for thread in guild.threads: if "with gpt" in thread.name.lower(): - print(f"Deleting thread {thread.name}") await thread.delete() + await ctx.reply("All conversation threads have been deleted.") def check_conversing(self, message): cond1 = message.author.id in self.conversating_users and message.channel.name in ["gpt3", "offtopic",