Ask coding questions
error in running a code
In which line do you define the token?
@VulcanWM in line 44 in main.py getting details from the configuration file
You should keep your bot token secret as anyone with it can run your bot and hack the codeyou should save it in the secrets tab with the key TOKEN and then use the code os.getenv(“TOKEN”) to get the token from the secrets @kingragul
[email protected] I removed it sorry I am new to this . Can you check the program with your key and fix the error
can you invite me to the repl? @kingragul
@VulcanWM done :)
wait can you just enter the token in the code because i cant see it at all rn @kingragul
@VulcanWM check it in config.json file .
dont have discord sorry @kingragul
@VulcanWM after you come just ping @here. I will hope on and let see error causing this .