mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06: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:
|
else:
|
||||||
await message.channel.send(content)
|
await message.channel.send(content)
|
||||||
content = ""
|
content = ""
|
||||||
await message.channel.send(response["content"]) # type: ignore
|
|
||||||
|
|
||||||
|
|
||||||
async def chat_process(self, message):
|
async def chat_process(self, message):
|
||||||
|
|||||||
Reference in New Issue
Block a user