Using multiple types in args.repeat()

Is it possible to use multiple types in args.repeat()? For example like this: const membersAndRoles = args.repeat('member | role'); // parsing members and roles And then it would parse !command @member1 @member2 @role1 and put all three into membersAndRoles. What would be the best way?
Solution:
it is not. You'll have to leverage commands like args.finished to check if there are args left to parse and then pick them.
Jump to solution
2 Replies
Solution
Favna
Favna8mo ago
it is not. You'll have to leverage commands like args.finished to check if there are args left to parse and then pick them.
Lonila
Lonila8mo ago
Alright, thank you!