Dannie
Dannie
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
ah, thank you, again
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
update doesn't exist on a ModalSubmitInteraction type
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
Okay, that works, thank you. One question though, on a ModalSubmitInteraction, how can I respond to the modal without creating a whole new message? My first instinct is just to deferReply and delete it immediately and just edit the original message, but that seems really jank
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
Seems fetchReply will be the safer bet for modals in this case, thanks, I'll try it
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
Noted
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
If the InteractionResponse came from a reply on a ModalSubmitInteraction then interaction.message?.interaction?.id in the collector will point to the original interaction that triggered the modal. In my case that is a slash command
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
It was doing it for both ephemeral or not
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
Yeah I was just about to try that
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
I can read from the modal submit just fine, it's after the submission and I reply to it with a message containing buttons that I cannot use awaitMessageComponents on it
14 replies
DIAdiscord.js - Imagine an app
Created by Dannie on 8/18/2023 in #djs-questions
InteractionResponse#awaitMessageComponent is not working with modal
My issue isn't the modal submit..
14 replies