How to make a slash command parse multiple arguments?
- Discord.js ver. 13.6.0 - Node.js ver. 16.13.0
I've been wondering if there's a way that I can just have a slash command detect multiple... arguments that it's given, and if the command can have multiple versions.
Say, I have a command called "create", and past the word create, I give it 2 words, then a number, it should detect that the 2 words are "first name" and "last name", but if I give it 3 words, it detects it as "first name", "middle name", and "last name"?
I also ask because I've been using the
"addStringOption"
"addStringOption"
to the command, making it rather long and tedious for people to write in, as they have to select the option before writing in their option.