Slash command subcommand

/config thing @user
/config thing @role
/config thing @user
/config thing @role
Assume I have a slash command trying to do something with a user or a role as above, is there any way that I can make it so if you input a user, you cannot input a role and vice versa? Or would this be a case of just do the following as what I'm requesting is not something that is supported
/config thing user @user
/config thing role @role
/config thing user @user
/config thing role @role
4 Replies
d.js toolkit
d.js toolkit4w ago
Chtholly (クトリ)
the first way is only possible through post processing after the interaction is submitted so like when you're actually handling the interaction you can check if both fields were filled out the second way is good too
Multarix
MultarixOP4w ago
yeah I figured as much, thanks anyway.
d.js toolkit
d.js toolkit4w ago
The thread owner has marked this issue as solved.

Did you find this page helpful?