17 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 staff<Client>.ws.ping
you dont call it on the class, its not a static property
also its editReply, that should've errored
right, reply returns an InteractionResponse , not an interaction
okay bear my coding skills are low, but i'm still learning
new code
new error
you do need to define client yes
that should be basic js
virtually every djs structure has a client property
ik this
then use it
should i refer to client in every command file?
...no
.
then how do i set globely to every file?
again
virtually every djs structure has a client property
so access it
new error
show your code
ik im stupid but im learning
sigh
this is basic js at this point
i would advise you learn that first, then come back
#rules 3 #resources
okay sorry for my stupidity thanks for the help
also my js skills are basic web front dev shit that's why
i should probably familliars my self with node or wtv
anyways sorry for bothering and thanks for the help