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
Siris
Siris2y ago
I would use a subcommand one subcommand for a file and one subcommand for a link
Daniel H.
Daniel H.2y ago
That may also be confusing. Like /setwelcomeimage file and /setwelcomeimage link is confusing and bad user experience.
Siris
Siris2y ago
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