ReferenceError: Client is not defined
ReferenceError: Client is not defined
at Object.<anonymous> (C:\Users\(name)\my-bot\bot.js:1:16)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
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![email protected]
node v20.10.0
im prolly being a retard rn
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
-
ReferenceError: "x" is not defined
: learn more
- TypeError: Cannot read properties of undefined/null (reading "x")
: learn more@cwoole pls send code
I will try to help
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
yea lmao
i told u
i forgot to hit save
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
yeah one second
yea i saved and everything but the cmd still doesnt work do u know why
Error?