Skip to content
Sign UpLog In
Profile icon

India V s australia

@shereyaprasad
Repls
Community
shereyaprasad
shereyaprasad
shared a Post
2 years ago
Not working
Guys sorry but someone do a bloddy joke with me acctully I was forget that I put my token freely so I am sharminda so can u correct me again this tim
Discord bot
Python
tussiez
tussiez
I don't see any errors..2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
there seems to be no error? What do you need help with?2 years ago
shereyaprasad
shereyaprasad
shared a Post
2 years ago
Kai_Justice
Kai_Justice
You're using os.getenv() incorrectly, usually the format goes like so. .env TOKEN=(Your token) main.py os.getenv('TOKEN') Line 4 needs to be discord.Client() as objects are usually capitalized. Lines 17-18 needs to have one less indentation level. The indentation level it's on right now will stop it before it runs.2 years ago
shafiahaz2478
shafiahaz2478
I think it's your .env file problem change the last line os.getenv to os.getenv('TOKEN') 2 years ago