Repeated use of an optimal option in a slash command

Is there a way for me to do so an optimal option in the slash command can be used multiple times and maybe return an array? For an example if it's doing something in a category do i want to be able to select channel under that category to skip
11 Replies
d.js toolkit
d.js toolkit3w ago
- 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! - Marked as resolved by OP
treble/luna
treble/luna3w ago
no
treble/luna
treble/luna3w ago
you will need to either have that option multiple times or use a select menu
Biast12 (Tobias)
Biast12 (Tobias)OP3w ago
rip, would be super useful tbh select menus are only for buttons right?
treble/luna
treble/luna3w ago
what? a select menu isnt a button
Biast12 (Tobias)
Biast12 (Tobias)OP3w ago
no but can you use a select menu with the slash commands?
treble/luna
treble/luna3w ago
yes?
Biast12 (Tobias)
Biast12 (Tobias)OP3w ago
oh
treble/luna
treble/luna3w ago
if you reply with it yes
Biast12 (Tobias)
Biast12 (Tobias)OP3w ago
i guess i could make the option a boolean and if it's true then use the select menu that way

Did you find this page helpful?