Collecting modal submissions
I have a command that replies to the user with some buttons. These buttons show the user a modal. The button clicks are detected using a component collector. How would I detect when the user submits the modal? Using another collector? I don't want to use the interaction create event as that would require me to create another file (due to my interaction handler). I don't want to do this as the inputs of the modal will change the message sent as the interaction reply.
If anyone could help me out that would be amazing! Let me know if you need to me explain more or share code.
If anyone could help me out that would be amazing! Let me know if you need to me explain more or share code.