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.
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'
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'