Cleanup after merge

Rene Teigen 1 year ago
parent 33eb5f4d76
commit 67546d0705

@ -622,9 +622,7 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
await response_message.edit(content="Redoing prompt 🔄...")
edited_content = await self.replace_mention(after, after.content)
# If the user is conversing, we need to get their conversation history, delete the last
# "<username>:" message, create a new <username>: section with the new prompt, and then set the prompt to
# the new prompt, then send that new prompt as the new prompt.
if after.channel.id in self.conversation_threads:
# Remove the last two elements from the history array and add the new <username>: prompt
self.conversation_threads[

Loading…
Cancel
Save