#Use multiple of same option in slash command

6 messages · Page 1 of 1 (latest)

gleaming vortex
#

I'm not sure if Discord even allows this, but can I require the user to enter at least 1 or more of a certain option? I'm making a bot that would require the user to list multiple users but I'm not sure how to go about doing that

shrewd chasm
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

gleaming vortex
#

package info PS C:\Users\aaron\projects\discord-hangman> yarn workspace @aquelle1-bot-core/core info discord.js └─ discord.js@npm:14.6.0 ├─ Version: 14.6.0 │ └─ Dependencies ├─ @discordjs/builders@npm:^1.3.0 → npm:1.3.0 ├─ @discordjs/collection@npm:^1.2.0 → npm:1.2.0 ├─ @discordjs/rest@npm:^1.3.0 → npm:1.3.0 ├─ @discordjs/util@npm:^0.1.0 → npm:0.1.0 ├─ @sapphire/snowflake@npm:^3.2.2 → npm:3.2.2 ├─ @types/ws@npm:^8.5.3 → npm:8.5.3 ├─ discord-api-types@npm:^0.37.12 → npm:0.37.14 ├─ fast-deep-equal@npm:^3.1.3 → npm:3.1.3 ├─ lodash.snakecase@npm:^4.1.1 → npm:4.1.1 ├─ tslib@npm:^2.4.0 → npm:2.4.0 ├─ undici@npm:^5.11.0 → npm:5.11.0 └─ ws@npm:^8.9.0 → npm:8.9.0 [7aa28]

subtle pulsar
#

The only way to use slash commands with multiple users is making lots of options (user1, user2, etc). You can make some of those options required so you get at least one user. (very unfortunate tho)

#

and it is a Discord issue not discord.js