SIA
Sapphire - Imagine a framework

old-sapphire-support

secondubly - Not sure if my googling is just insuf...

Ssecondubly11/12/2022
Not sure if my googling is just insufficient but is there a way to add multiple users as a parameter for a slash command? I know that a User option exists where you can supply a single user to a slash command but if I wanted someone using the command to supply multiple users, how would I do that? I've been googling but can't seem to find anything explaining how that works. (Not sure if this is a sapphire or discord specific question, please let me know if I need to move it)
FFavna11/12/2022
Discord API doesn't support repeated arguments (yet, they are aware of the feature request) so the best you can do is add (optional) additional parameters
Ssecondubly11/12/2022
ah, all right then! Thank you for clearing that up for me
LLioness10011/12/2022
If you're using @sapphire/framework@pr-512 and discord.js@dev, you can also prompt the user with a "user select menu" https://discord.com/developers/docs/interactions/message-components#select-menus
Discord Developer Portal
Discord Developer Portal — API Docs for Bots and Developers
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
LLioness10011/12/2022
The example screenshot on the docs show a role select menu, but it's the same idea for the user counterpart

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
bomi - That's what I did with that, but this can b...That's what I did with that, but this can be usefulNoxillio - sapphiretype is impossible to install...@sapphire/type is impossible to install on Apple Silicon systems.Noxillio - Is there any purpose to sapphireplugi...Is there any purpose to @sapphire/plugin-editable-commands anymore now that application commands areBen855 - How are most of y'all using IDhints in pr...How are most of y'all using IDhints in production? Are you just manually hard coding them every timeNytelife26 - can i use `ApplyOptions` with an app...can i use `@ApplyOptions` with an application command, and if so do I still need to use `registerChaRhys - Is it possible to put preconditions on butt...Is it possible to put preconditions on button interactions? Looking through the docs / code it didn'Fiery - Hi, just got a new laptop and I'm having s...Hi, just got a new laptop and I'm having some troubles with the @sapphire/type library. I can't get bomi - Seems this is a known problem on discords e...Seems this is a known problem on discords endbomi - Discord's sending big ints? ``(node12164) ...Discord's sending big ints? ``` --------------------------RATE LIMIT-------------------------- (nodkaname-png - Paginated message brokenPaginated message broken${j122j} - Is there any way I change the typescrip...Is there any way I change the typescript types for container.client to be my own client class? It exChaddiedaddie - I tried to follow the Getting sta...I tried to follow the "Getting started with Sapphire" part of the guide on the sapphire website and kaname-png - Why does this interaction option retu...Why does this interaction option return null?dragonizedpizza - can I give a list of possible el...can I give a list of possible elements in shapeshift's s.string.arrayeslint oomhey besties, your eslint config somehow OOMs eslint <3 what the fuck ctx: Running it with `next lintSomehow registry not registering@vladdy Bug Report: Code: https://v.gd/Ftwkcz Problem: Help command not being registered Expected ou