#problem with modal (error on discord but nothing on terminal)

1 messages · Page 1 of 1 (latest)

shadow lantern
#

hello I have problem with the modals I managed to make one appear but when I want to confirm my choices an error message appears on discord but nothing on the terminal if you have the ability to help me and that you nice. THANKS

strange portal
#

Did you reply to the modal interaction?

#

And consider sharing some code

shadow lantern
#

when buton is press the modal spawn and normaly the selectmenu spawn when i finish modal

strange portal
#

Show the collectorModal

shadow lantern
strange portal
#

Well, a modal isnt a MessageComponent

dull spadeBOT
#

Tag suggestion for @shadow lantern:
If you are waiting for button or select menu input from a specific message, don't create the collector on the channel.
• Channel collectors return component interactions for any component within that channel.

- <Channel>.createMessageComponentCollector(…)
+ <Message>.createMessageComponentCollector(…)
#

Suggestion for @shadow lantern:
guide Other Interactions: Receiving modal submissions
read more

shadow lantern
#

ty

shadow lantern
#

I'm really sorry to bother you again but despite these explanations I haven't managed to solve my problem is it possible that we have to change😅