Goofert
DIdiscord.js - Imagine ❄
•Created by Goofert on 1/4/2025 in #djs-questions
Collecting multiple modal submissions
I have a command that replies to the user with some buttons. These buttons show the user a modal. I am using the awaitModalSubmit() function to detect the modal submission. However, when the user goes to submit the other modal using the other button the code doesn't fire anymore.
If anyone could help me out that would be amazing! Let me know if you need to me explain more or share code.
26 replies
DIdiscord.js - Imagine ❄
•Created by Goofert on 1/4/2025 in #djs-questions
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.
4 replies
DIdiscord.js - Imagine ❄
•Created by Goofert on 1/2/2025 in #djs-questions
Editing an embed
I remember seeing a video back when I was learning discord.js where someone edited a embed without having the edited tag showing up. I can't remember how they did this. Does anyone know how to do this?
10 replies