modal textValue & chatInput interaction string options validators #6202
Unanswered
alighamdan
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
This sounds like a duplicate of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i suggest of discord add 'validators' for chat-input interactions string options and text input modals
this validators check if the input follow the wanted pattern
this would be awesome and very helpful for developers
and only accept the input if its matches one of the specified validators
I think like:
name: "option_name",
validators: [/regex/gi, "str"],
it would be awesome
Beta Was this translation helpful? Give feedback.
All reactions