Need help setting up d.js
I am at "loading file commands" and dont understand how to add the code to the current index.js file. I tried using ChatGPT, but it didnt work.
15 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!* Show your code
also dont ever use ai, its only gonna make things worse
Okay. let me screenshot the codes
no
okay, and whats your issue
because no where in that code do i see anything that can even cause the issue you described
as im told in the docs to do
you just add it to your index
literally just add the client.commands = ...
do you have any javascript experience
not much
then i would recommend checking out #resources first, djs isnt for beginners and you are required to have a solid understanding of javascript, as per #rules 3
yes
okay. Ty
ill try to learn too. im sorry for not learning before.