Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.6k stars 699 forks source link

"Error while sending system prompt: 'NoneType' object has no attribute 'send'" Is working now but I have to switch between replyall modes twice. #434

Closed TAFTMASTER closed 3 months ago

TAFTMASTER commented 12 months ago

2023-07-06 14:14:33 INFO src.log -> Send system prompt with size 2427 2023-07-06 14:15:00 ERROR src.log -> Error while sending system prompt: 'NoneType' object has no attribute 'send' Traceback (most recent call last): File "C:\Users\user\Downloads\chatGPT-discord-bot-main\chatGPT-discord-bot-main\src\aclient.py", line 142, in send_start_prompt await channel.send(response) ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'send'

Zero6992 commented 12 months ago

Do you specify REPLYING_ALL_DISCORD_CHANNEL_ID filled in the .env file?