Problem with buttons
I have this code, and most of the time (about 99%) it works without any problems. However, just a moment ago, the bot updated a message, and for some reason, there were no buttons. There is no error.
[email protected]
NodeJS v18.20.4
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!
- ✅
Marked as resolved by OPUnknown User•2mo ago
Message Not Public
Sign In & Join Server To View
yea sorry that was missclick
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
the message embed has changed but the components haven't changed, the buttons should have appeared when the message was edited but they didn't appear for some reason
i uploaded 2 images, the first shows how the message should looks
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 moreokay i will make console.log there