From 94ced79a2117481f407bccff0090e29273b5b84c Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 2 Aug 2023 20:12:49 +0200 Subject: [PATCH] refactor(makeprompt.py): remove unnecessary line that sends response content in chatgpt_process function The line that sends the response content in the chatgpt_process function is unnecessary and can be removed as it is not being used. --- src/makeprompt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/makeprompt.py b/src/makeprompt.py index 3c0a16d..50bc015 100644 --- a/src/makeprompt.py +++ b/src/makeprompt.py @@ -178,7 +178,6 @@ async def chatgpt_process( else: await message.channel.send(content) content = "" - await message.channel.send(response["content"]) # type: ignore async def chat_process(self, message):