Get ModalInteraction reply message
Hello,
After an UserContextCommand interaction, I reply with a Modal. Once this Modal is Submitted, I send a reply Message in the channel.
On this message, I set a ButtonComponent to edit the reason of the sanction. I use for that a
createMessageComponentCollector
.
The first problem is that I don't have any interactions on the event collect
.
The second problem is that I don't have anywehere the message of the ModalSubmitInteraction reply, and I need it to delete the messageMy code: I hope you can help me. Thank you
2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.I use the
[email protected]
And the version 18.7.0
of Node
I will try that. Thank you !
That's not the full part of the code. There is a modalInteractionSubmit before but this part works
Oh, ok
But that's work. Thank you very much !