Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Command Option Data (min_length, max_length) #512

Closed
MidSpike opened this issue Jul 1, 2022 · 0 comments · Fixed by #513
Closed

Application Command Option Data (min_length, max_length) #512

MidSpike opened this issue Jul 1, 2022 · 0 comments · Fixed by #513

Comments

@MidSpike
Copy link

MidSpike commented Jul 1, 2022

discord/discord-api-docs#5143

Min and Max Length for Command Options

July 1, 2022

Application command options of type STRING now includes optional min_length and max_length fields to control the length of text a user can input.

The value of min_length must be greater or equal to 0, and the value of max_length must be greater or equal to 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants