11 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!Node.js v20.9.0
I want to run my bot on js and it gives me an error. Although everything is as it should be, everything is painted as it is, everything is in folders and the bot token is also there. Please help
this isnt really djs related, you just appear to not hace a client.js file in the directory
it is there and the bot token is also there
Your error disagrees though
make sure you are in the correct directory
still the same mistake
show your file structure
where is the token located?
how am i supposed to know? its your code, and you should know where you put your token
You misunderstood me, I'm asking should I send you a file here where the token should be?
no
your file structure
because your file is not in the directory you run the command in