Problems with the .env files
I tried to create a .env file for my repl (I wanted to code a discord bot on my own, but Im pretty new to this kind of thing). When I try to name the new file ".env" it just says "You cannot create .env files anymore, checkout the environment variable sidebar". It's probably stupid,but since I am a complete Newbie and english is not my native language, I wanted to ask.
@CouchPotato1808 Actually it's not stupid until recently that's how you did it, but there's been an update.
STEP 1: click the lock button in the side menu (it should be called Secretes (Environment variables))
STEP 2: In the key you put the name of the variable.
- STEP 3: In the value put the token.
- STEP 4: click the "add new secrete" button and then click both the insert buttons.
Hope this helps