© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Is there a way to get slash command option values even after the slash command leads to a modal? - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
3y ago
•
19 replies
leguchi
Is there a way to get slash command option values even after the slash command leads to a modal?
Hi
! So I was told to use a collector for this
, but I
'm not sure how exactly it works
. I was taking a look at
this
. The
.then()
.then()
: was it for after the modal submission
? Is it a replacement for
async execute()
async execute()
for the modal
?
discord.js Guide
Imagine a guide
.
.
. that explores the many possibilities for your discord
.js bot
.
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,693
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Is there a way to see the option we provide to slash command
d-Iaa
discord.js - Imagine an app / djs-questions
2y ago
Slash Command Builder Default Option Values
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago
Is there a way to hide this part of the slash command
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago