Closed sirlupusdev closed 2 years ago
The showModal()
method is a response of an interaction. also reply()
or deferReply()
are responses of an interaction.
If you give a response, you can't give a response again. So you need to remove reply()
and editReply()
.
I’m aware of that, is there any way that would switch the showModal()
method to a followUp()
instead of reply()?
Or - if it's possible - as a feature Request, something like a showModalFollowUp()
would be very nice (if discord API allows that of course).
Issue closed, I dug a bit into the Endpoints and it isn't possible. Thank you :)
Good evening,
when I want to send the modal with
showModal()
it gives me the errorSHOW_MODAL_ERROR: An error occurred when showing a modal. DiscordAPIError: Interaction has already been acknowledged.
I think, when I use
showModal()
, it tries to reply to an interaction, no matter if a reply has been sent before (which I do).My basic code structure is
Is there any workaround or plan on fixing this issue? Or is it already fixed and I'm just missing something?