26 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- 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 OP

Log your token before login and see if it's valid one
Do you have a sample code for that? I'm still a beginner and I don't know much about it.
It's just simple console log
#rules 3
Can you provide the code?
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
I know about console.log. I thought it was telling me to output something.
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
ok wait min

Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
Should I write .env like this?
TOKEN = XXXXXXXX
Do you need "XXXXXXX" ?
@rmHawk765
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View

It's in there properly. Would you like to reproduce it?
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
ok wait min
It may be difficult to read because it contains Japanese.
It's bedtime in Japan. I'll have to switch to my phone to translate, so it'll take a little time.
@rmHawk765 code
ok

Do you want to reproduce the token?

What should I do?
It started up successfully. It was a mistake in my settings. I'm really sorry.
