10 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!In TypeScript the
ActionRowBuilder
class has a generic type parameter that specifies the type of component the action row holds:
can i not add modal in model submit interaction?
@New Year's Predicate
You can’t reply to a modal w/ a modal
You should be using the button interaction that was collected anyways, not the modal interaction
how do i get button interaction?
Add the param in the collect event
Kinda surprised the stuff in the collect event runs tbh
ah I see... thnx man....
You can control which entities receive notifications via the
allowedMentions
option. You can:
- Set a default on the client
- Set for a specific message
- Use the repliedUser
key to disable in-line reply mentions