Button confirmation system

Hey, im trying to make a bot where when you click on a button the bot replies with another two buttons, so that you can either confirm to delete the message with the first button or to just cancel your action. I came up with the code in the picture but i cant figure out how to delete the reply and the first message when you click confirm.
6 Replies
d.js toolkit
d.js toolkit16mo ago
- 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!
MoinAmMorgen
MoinAmMorgenOP16mo ago
MoinAmMorgen
MoinAmMorgenOP16mo ago
It looks like this:
d.js docs
d.js docs16mo ago
guide Popular Topics: Collectors read more
treble/luna
treble/luna16mo ago
use collectros
MoinAmMorgen
MoinAmMorgenOP16mo ago
Alr thank you
Want results from more Discord servers?
Add your server