Product File Solution
I have a command where you can either put a file or external link for an image. When we had message content intents, I would just say either upload a file or send a link. But slash command options only support one. Conditional options don’t exist either so what can I do? One attachment option and one text option is too confusing.
3 Replies
I would use a subcommand one subcommand for a file and one subcommand for a link
That may also be confusing.
Like
/setwelcomeimage file
and /setwelcomeimage link
is confusing and bad user experience.I don’t really see how that’s bad ux, but anyways there’s really no other options atm
The fundamental issue with conditional parameters like that is the api can’t tell how to return the data back to you