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
77 stars 24 forks source link

[BUG] #29

Open peanutman1116 opened 9 months ago

peanutman1116 commented 9 months ago

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'

Najmul190 commented 9 months ago

did you put in your selfbot id in your .env file?

peanutman1116 commented 9 months ago

Yes I did. Just to verify it would be the user ID of the selfbot right?

Najmul190 commented 9 months ago

did you rename example.env to just .env

peanutman1116 commented 9 months ago

did you rename example.env to just .env

yes still got the error if you want add my discord it would be alot easier to go through trouble shooting discord _error1

File "C:\Users\myusername\Downloads\Discord-AI-Selfbot-main\Discord-AI-Selfbot-main\main.py", line 22 selfbot_id = int(os.getenv("SELFBOT_ID") ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?

peanutman1116 commented 9 months ago

did you rename example.env to just .env

Not sure what could be causing the problem now

R1Gel2 commented 5 months ago

same issue here with the exact same error

UserGG0 commented 2 weeks ago

ye same

pnydiffuser commented 1 week ago

ye same

there will be a huge update to fix bugs eventually. The developer responds but is very busy making it up to date.