Giveaway code
I'm not fully sure if this is the right place to place it but lets try;
In the file is my code for the giveaway part of my bot. The only problem is that the buttons to join are not working correctly. The error I receive in discord is: "The interaction did not work"
3 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!Ooooh... That make sense
Is that the only thing that let it crash?
Thanks a lot! Gonna try it right away 🙂
Did not work sadly enough... Really need to found the problem
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 more