10 Replies
as with all interactions, you need to respond to the modal submit in some way
I added interaction.reply('ok") and tried it again but ti still failed
care to share that code?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
okay so something like ?
will i need to remove the m() function)?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Thank you both
the collectors are one way to receive an interaction, but they're limited by time
you won't need to remove your
m
function, as you could simply call it on the resolved interaction
alternatively you can remove it and simply run the code in the same functionI will test it and archive this if it works
the function was to differentiate the button and modal interaction without switching to another file because they both are for the same overall function
This is as far as I got but idk what else i would havbe to do