The modal still opens and works properly, however I don't want to see this error message.
I'm using the latest version of discord.js and the only aspect of the demo code I've changed is it looks like InteractionResponseType.APPLICATION_MODAL has become InteractionResponseType.MODAL.
Other responses work fine like sending InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE, but the MODAL specific interaction always throws an error.
In example https://github.com/discord/discord-example-app/blob/main/examples/modal.js, whenever I run the command "test" to open the modal I get an error in discord that "This interaction failed".
The modal still opens and works properly, however I don't want to see this error message.
I'm using the latest version of discord.js and the only aspect of the demo code I've changed is it looks like InteractionResponseType.APPLICATION_MODAL has become InteractionResponseType.MODAL.
Other responses work fine like sending InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE, but the MODAL specific interaction always throws an error.