Ask coding questions

← Back to all posts
How do I hide my token now that I cant use .env files
JVaunPaul (0)

I just made a bot and I wanna know how to hide the token cuz i discorvered that .env files dont work. Pls Help

ruiwenge2 (1186)

you can use secrets:

Coder100 (18915)

Use the environment variables (the padlock) for easier and more sane token management.

Otherwise it is the same:

do note it is a bit buggy

IMayBeMe (542)

Click the little lock icon which now functions as the new env files

ch1ck3n (2380)

just press the lock on the left and add your keys and values. to get the values, it's the same as env. os.getenv("ee")