Najmul190 / Discord-AI-Selfbot

A Discord chatbot / selfbot that allows users to talk to AI powered by OpenGPT or BARD. The AI runs on a genuine Discord account, not a bot account and has image detection alongside image generation.
GNU General Public License v3.0
78 stars 24 forks source link

[BUG]AttributeError: 'NoneType' object has no attribute 'splitlines' #22

Closed ghost closed 10 months ago

ghost commented 10 months ago

Describe the bug AttributeError: 'NoneType' object has no attribute 'splitlines' ~imagine etc still works but bot cant talk

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context You said you fixed that but i still get that error изображение_2023-08-13_124547972

ghost commented 10 months ago

re-opened https://github.com/Najmul190/Discord-AI-Selfbot/issues/21 *

Najmul190 commented 10 months ago

You downloaded the latest update right? I just tried it and it seems to work fine

ghost commented 10 months ago

Yeah latest version installed, tried to re-isntall python but still not working, is there any way to fix this? изображение_2023-08-13_125932711

ghost commented 10 months ago

Worked yesterday btw

ghost commented 10 months ago

изображение_2023-08-13_134716862 huh? (https://gpt4.xunika.uk)

the error - Error making the request: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://gpt4.xunika.uk/api/openai/v1/chat/completions')

ghost commented 10 months ago

Fixed. I got blocked by https://gpt4.xunika.uk/ (too much requests), if someone needs a fix just enable VPN