This PR is a 2 parter, but can be seperated if need be. I figured combining them, would simplify the code for broadcast since im already diffing it
Converts broadcast to slash command
Creates createConfirmationReply in util.ts
createConfirmationReply replies to an interaction with a given payload and appends a confirm and cancel button.
It handles the listening for events and calling the onConfirm and onCancel methods passed into original call`
This PR is a 2 parter, but can be seperated if need be. I figured combining them, would simplify the code for broadcast since im already diffing it
Converts broadcast to slash command
Creates
createConfirmationReply
inutil.ts
createConfirmationReply
replies to an interaction with a given payload and appends a confirm and cancel button. It handles the listening for events and calling theonConfirm
andonCancel
methods passed into original call`