|
|
|
@ -1134,7 +1134,7 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
|
|
|
|
|
): # only load in files if it's included in the command, if not pass on as normal
|
|
|
|
|
if opener_file.endswith(".txt"):
|
|
|
|
|
# Load the file and read it into opener
|
|
|
|
|
opener_file = f"openers{separator}{opener_file}"
|
|
|
|
|
opener_file = EnvService.find_shared_file(f"openers{separator}{opener_file}")
|
|
|
|
|
opener_file = await self.load_file(opener_file, ctx)
|
|
|
|
|
if (
|
|
|
|
|
not opener
|
|
|
|
@ -1202,7 +1202,8 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
|
|
|
|
|
thread_message,
|
|
|
|
|
)
|
|
|
|
|
self.awaiting_responses.remove(user_id_normalized)
|
|
|
|
|
self.awaiting_thread_responses.remove(thread.id)
|
|
|
|
|
if thread.id in self.awaiting_thread_responses:
|
|
|
|
|
self.awaiting_thread_responses.remove(thread.id)
|
|
|
|
|
|
|
|
|
|
self.conversation_thread_owners[user_id_normalized] = thread.id
|
|
|
|
|
|
|
|
|
|