How do I access my Discord.js token without giving it out

doing node . in shell gives me the error that it has an invalid token. I think that this is because it is having trouble accessing the hidden variable. Can you help me?

You are viewing a single comment. View All

It will never work if you try running the bot on the shell. You must run it through .replit
so make a .replit file and add:

the run command is basically bash.


it has worked before, but because I don't want to give the token out I'm trying to tuse the "secrets" tab on the left and it isn't [email protected]