mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user