[Moved]
It's as the title says. I've been trying to solve this problem for hours and I just don't understand it.
5 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 staffSo, this is my code so far
I use this to load all of my events
And, when it tries to load "MessageCreate.ts", it completely stops.
For reference, all the other file (
MessageCreate.ts
) does, is try to print Commands
via console.log();
, and this is how I import said Commands
map.
I'm literally not doing anything else except trying to log "Commands" too, which is really confusing.
I've discovered that it works if I put this program in a function and then run it but I don't know whyThis is the output by the way.
this isn't djs related, use #other-js-ts
move the question there and share what is on MessageCreate.ts
👎