#i want help
25 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by staff
i reset token
Its invalid though
why
So make sure you are actually passing a token, and a correct token
i reset from discrod dev
And did you copy the new one and put it into your code?
yes
Do you put it directly into the login(…) call or do you define a variable by that value? Or have a config file you import?
yes
Please don’t reply with yes to an or question
oh
Which one of them is it?
i have .env file
Then console.log the variable you have in the login(…) call to make sure the .env got loaded correctly
i did it
And what did you find?
token invilt
And the console.log produced what?
Did you see the token or undefined or what?