i keep on getting the interaction failed error but i did the reply method already tried to debug it
7 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!you arent using v14 it looks like
and does that event fire at all
(I also hope you dont register a listener for every command)
i have the latest version already installed
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
in that case how exactly should do if u mind me asking
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 moreYour imports are still mostly v13 so keep that in mind