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] Bot Texting #38

Closed Kran03 closed 6 months ago

Kran03 commented 6 months ago

This error pops up when I text the bot, every other feature works

Error making the request: Cannot connect to host free.chatgpt.org.uk:443 ssl:default [Access is denied] Task exception was never retrieved future: <Task finished name='Task-21' coro=<on_message..generate_response_in_thread() done, defined at C:\Users\Profile\Discord-AI-Selfbot\main.py:253> exception=AttributeError("'NoneType' object has no attribute 'splitlines'")> Traceback (most recent call last): File "C:\Users\Profile\Discord-AI-Selfbot\main.py", line 256, in generate_response_in_thread chunks = split_response(response) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Profile\Discord-AI-Selfbot\main.py", line 95, in split_response lines = response.splitlines() ^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'splitlines'

Kran03 commented 6 months ago

nvm fixed it

ivegot0bitches commented 3 days ago

nvm fixed it

how did you fix it? cant fix mine currently