-
Notifications
You must be signed in to change notification settings - Fork 802
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
feat: min and max constraints for slash command options #1026
Conversation
I don't know that I particularly like |
The only downside of this approach - when value is |
Using *float64 makes sense then, we've done that in a few places. |
It's quite inconvenient for the end user tho |
@CarsonHoffman What is your opinion on this? |
Alright, @iopred @CarsonHoffman should be ready for review |
We've got this far: What was NOT included are the following: Add a new enum (value 10) for ApplicationCommandOptionType For For Summary: |
Not entirely sure about merging this, because it's definitely going to break a lot of stuff. So will hold it for a couple of days. |
NEED THIS |
discord/discord-api-docs#3327