#Modal submiting

1 messages · Page 1 of 1 (latest)

craggy cipher

When a user uses a command, as example /say, a modal pops up using interaction.showModal(modal).
But when I use interaction.awaitModalSubmit() in the code of this command, I'm having the following issue:
When I use the command, close the modal, use the command again and submit the modal: the first command receives the second commands modal too. So I get 2 answers instead of only the last.
I also had an issue that it took other user's modals as well, but I fixed that with a member filter.