Aplication doesn't respond
Hi ! I have a problem under dJS 14 When I execute a command / the bot responds to me the application no longer responds even though I haven't touched the code since and it works very well
I have no console error and I use everything in command handler I send the code here ? sorry my English is not perfect I am a desperate Frenchman
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!If you aren't getting any errors, try to place
console.log
checkpoints throughout your code to find out where execution stops.
- Once you do, log relevant values and if-conditions
- More sophisticated debugging methods are breakpoints and runtime inspections: learn moredo this
and dont deploy your commands upon ready
only when you edit them
hmmm ok
i also dont see where you are actually handling your commands
how so ?
because i dont see any interactionCreate event listener
here
All for my command collection
that deploys your commands
it doesnt handle them
i highly doubt this worked perfectly if you dont even have an interactionCreate listener
and yep yes I haven't used it interactionCreate but it works normally
it does not
Yesterday I didn't have the problem and I don't fully understand why.
because you dont have any interactionCreate listeners
hmmm
I will listen to your advice I will try to work on it again
its good thx