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
🦗
lol ❤️
@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 thatI ended up using a UserSelectBuilder 🙂