From 11ae8de8e0d85567bb783dc348c6e3fb9f69bbbe Mon Sep 17 00:00:00 2001 From: Rene Teigen Date: Thu, 5 Jan 2023 19:30:24 +0000 Subject: [PATCH] Add a response if you're not in a conversation --- cogs/gpt_3_commands_and_converser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/gpt_3_commands_and_converser.py b/cogs/gpt_3_commands_and_converser.py index 7d76979..02c5343 100644 --- a/cogs/gpt_3_commands_and_converser.py +++ b/cogs/gpt_3_commands_and_converser.py @@ -868,6 +868,8 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): print(e) traceback.print_exc() pass + else: + await ctx.respond("You're not in any conversations", ephemeral=True, delete_after=10) @discord.slash_command( name="help", description="Get help for GPT3Discord", guild_ids=ALLOWED_GUILDS