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.
This commit is contained in:
Paillat
2023-08-02 20:12:49 +02:00
parent a7a0f5dac8
commit 94ced79a21

View File

@@ -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):