Can't fix this error, client.on, code in pastebin

Pastebin
Discord js help - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
No description
No description
7 Replies
d.js toolkit
d.js toolkit2w ago
- 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!
mr_engineer
mr_engineerOP2w ago
discord.js version 14.16.3 node version 20.18.0
mr_engineer
mr_engineerOP2w ago
For some reason, that error shows up, and even weirder, here the exact same code works
No description
Mark
Mark2w ago
A) this is not related to d.js, you have a simple syntax error. I would direct you to #resources #useful-servers or #other-js-ts B) the code in the paste bin has some v13 syntax, so it doesn't match what version you say you're on in the post
mr_engineer
mr_engineerOP2w ago
oh... sorry this is my first time here
Mark
Mark2w ago
It's ok, we just try to keep things where they should be
mr_engineer
mr_engineerOP2w ago
yeah yeah sorry
Want results from more Discord servers?
Add your server