How can I make a confirmation message in discord.js?

I there a way I can make a confirmation message where when you do a command, it says something like “Are you sure you want to continue” and then if the message author types “Yes” it executes the commands but if they say “No” it doesn’t?

use TextBasedChannel#createMessageColletor() or TextBasedChannel#awaitMessages() .

5 Likes

Thanks!!!