fix: respond to modals
Node.js CI / Lint and Test (push) Successful in 53s

This commit is contained in:
2025-09-27 17:45:15 -07:00
parent b950827deb
commit 6ebe3c3b20
+7
View File
@@ -90,6 +90,10 @@ export const handleModalSubmit = async(
], ],
content: question, content: question,
}); });
await interaction.editReply({
content: "Your question has been submitted.",
});
return;
} }
if (interaction.customId === "answer") { if (interaction.customId === "answer") {
@@ -173,5 +177,8 @@ export const handleModalSubmit = async(
], ],
}); });
await message.delete(); await message.delete();
await interaction.editReply({
content: "Your answer has been submitted.",
});
} }
}; };