Can't start bot
Hi! I can't run my bot. I know the command so I made it a .bat file for convinience, but when I run it, it shows the bot name, and "node .", then flashes a big piece of text for a millisecond, and closes. My bot is offline, and no error is logged. Any help here?
Edit: Just solved it! Turns out the "test.js" event had an error. Just deleted it (wasn't really needed anyway) and it works!
1 Reply
- 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