Closed PerkZ999 closed 1 year ago
TOKEN not found
if you didnt remove the '#' where TOKEN and OWNER_ID are then those lines will be ignored. Otherwise your TOKEN is wrong.
i put in the thing for the token
not working
???
From the logs I can see that you've manually edited the code itself. You can't parse the TOKEN from your .env file if you decide to write your token as a variable for the code to search it, because it doesnt exist in your .env file.
return await super().start(os.getenv('MTA0MDQ4MjkxMjA3Nzg3NzI0OA.GYHgha.Rb0Wff-jANgEMhPaKmqIKRsE-mD_pV5eRWNj-c'), reconnect=True)
Second thing I noticed is what you manualy edited into the code as your 'token' is different to the one in your .env file. I don't know if you've dedcided to reset it or copied the wrong one by mistake or not, please confirm.
Remove your token from the code and write TOKEN back (or best a fresh git clone
).
- MTA0MDQ4MjkxMjA3Nzg3NzI0OA.GYHgha.Rb0Wff-jANgEMhPaKmqIKRsE-mD_pV5eRWNj-c
+ return await super().start(os.getenv('TOKEN'), reconnect=True)
Reset your bot token just in case since youve decided to share it in public. (Discord Dev Portal > Bot > Reset token)
Then make sure u have the correct token according to your bot copied in your clipboard, then paste it in the .env file, along with your OWNER_ID. Make sure you've uncommented the lines by removing hashes '#'.
Run the bot again.
THANKS BRUHH