From 6ebe3c3b20d537dfa6e9cd68e482ff6afb64a7df Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Sat, 27 Sep 2025 17:45:15 -0700 Subject: [PATCH] fix: respond to modals --- src/modules/handleModalSubmit.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/handleModalSubmit.ts b/src/modules/handleModalSubmit.ts index 7dd1b38..ac1c0a0 100644 --- a/src/modules/handleModalSubmit.ts +++ b/src/modules/handleModalSubmit.ts @@ -90,6 +90,10 @@ export const handleModalSubmit = async( ], content: question, }); + await interaction.editReply({ + content: "Your question has been submitted.", + }); + return; } if (interaction.customId === "answer") { @@ -173,5 +177,8 @@ export const handleModalSubmit = async( ], }); await message.delete(); + await interaction.editReply({ + content: "Your answer has been submitted.", + }); } };