Discord-AI-Selfbot
Discord-AI-Selfbot copied to clipboard
A Discord chatbot / selfbot that allows users to talk to AI powered by Groq API which uses Meta Llama-3 or use your own ChatGPT API key. The AI runs on a genuine Discord account, not a bot account and...
Bug with gpt model, BARD works fine. GPT model is unable to generate a response, fix please 
think its just an issue with api/cookies, dunno...? Bard is now Gemini and ChatGPT has had major upgrades, neither seem to work with this now. ive looked at #41 ,...
[BUG]
File "C:\Users\yourname\Downloads\Discord-AI-Selfbot-main\Discord-AI-Selfbot-main\main.py", line 22, in selfbot_id = int(os.getenv("SELFBOT_ID")) TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback (most recent call last): File "C:\Python311\Lib\site-packages\discord\client.py", line 507, in _run_event await coro(*args, **kwargs) File "C:\Users\hello\Downloads\Discord-AI-Selfbot-main\Discord-AI-Selfbot-main\main.py", line 282, in on_message response = bard.get_answer(user_prompt) ^^^^ NameError: name 'bard' is not defined
I am getting an error while starting , I just started the code for the first time and this error occurred also I downloaded all the dependencies and packages etc...
i have tried many times re-installing or using cmd to setup the thing but i keep getting this  anybody knows why this happens?