34 Replies
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
No this is likely because your command names are invalid
Unfortunately we don't have the full error to hand
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Additionaly, your Key objects don't have a bundle
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Yeah string didn't match the validation regex
The regex is on Discord's side
I think we could probably do better error handling here but I haven't had the chance
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Yeah, missing a bundle from the Key here would cause a similar problem
Since it's just sending the key verbatim
The default bundle is the KordEx one for probably obvious reasons
And yeah that key isn't in the KordEx bundle
So @melone use "key".toKey(bundle) or use the Gradle plugin and generated Translations object
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Mhm
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
I thought I documented this
But clearly it's not obvious enough
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Yep
Solution
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Sorry, I will try it tomorrow. Thank you for your help guys. 🙂
thanks. 🙂
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
All good
It's fixed now, I can run the command but if I implement the modal, I get this exceptions:


but if i test it with a simple message response, the command works
that's because you're sending the modal manually
don't do that
oh okay
see how jansel did it here
the unsafe module is available if you really do need to do it yourself, but if you just need the modal as the first response to your command, you don't need to do that
oh, i didn't see that screenshot. i'm sorry
you're good
Is there something like a on/off toggle element in the modal?
No
they only support paragraph and line text inputs
that's all discord gave us
:/
Modal works fine now, thank you. Hope, Discord will implement more input types soon. 😂
they actually supported dropdowns at first release and discord removed them
I'm not sure why
oh no
discord is weird sometimes 😅
there are lots of things that frustrate me about discord
but that's a discussion for another time
Okay, I hope I don't bother you too much. I wish you all a good start to the new year!
you're fine haha
this is a support forum after all
🤝