K
Kord•2y ago
Tic

Interaction option

Hello I'm tried to add an option to a Chat input command, but unable to find how to instantiate the type expected for the option Have you any clue?
8 Replies
g
g•2y ago
You're gonna need to give a lot more detail than that
Tic
TicOP•2y ago
I finally found I see there are methods "int(..)", "string(..)" etc. But I just create my instance of StringChoiceBuilder
g
g•2y ago
KordEx also just creates the builders
Tic
TicOP•2y ago
Yes I now, before I used KordEx. But for my multiplatform experience, I want to create the same bot with a compatible JVM, JS (and Native when kord is compatible)
g
g•2y ago
Have you considered helping KordEx move towards that goal? /lh
Tic
TicOP•2y ago
Not for the moment, but first I would like to improve my skills on this topic before migrate Kordex. But yes, if you are agree with that, why not 🙂
g
g•2y ago
there's an issue open haha
Tic
TicOP•2y ago
Good to know!

Did you find this page helpful?