Ask coding questions
Im making a discord bot here on repl, but .env wont do the trick of hiding the token
@Bumblebee99 Are you naming the .env file like bee.env. If so then you shouldn't do that. You are only supposed to create a file named as .env. No name before the . of the file.
@KHZ i named the file .env and it didnt work, it kept giving me errors
@Bumblebee99 Can you show the code in the main file.
@KHZ ok i mean the code was justclient.run(os.getenv('TOKEN'))
@KHZ i got it to work, i was putting in the token in the .env file as TOKEN = ['token here']Without the token here text ofc