Command option - Array of users

Hi, i'm working on a slash command for my bot which will allow a user to create a loot-split for the group they're playing with. I need to be able to create an option (argument) for my command which will take multiple users, but I cannot see how. Is this possible? 🙂
3 Replies
Tasemu
TasemuOP3w ago
🦗 lol ❤️
secre
secre3w ago
@Tasemu You can use "string" option, and then parse that string and get users from it. Users could then use classic mentions or ids /loot-split create users: 432894328494 @shysecre 438294248 @anotherMention something like that
Tasemu
TasemuOP3w ago
I ended up using a UserSelectBuilder 🙂

Did you find this page helpful?