-
Notifications
You must be signed in to change notification settings - Fork 188
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
nextcord.Range accepts negative numbers if min_value is 0. #1015
Labels
t: bug
Type: bug - something isn't working
Comments
ranshaa05
added
the
t: unconfirmed bug
Type: bug - needs testing on if this is an issue
label
Mar 20, 2023
So is there no way to accept a range that starts at 0 beside accepting a range that starts with 1 and shifting it one lower? |
Skelmis
added
t: bug
Type: bug - something isn't working
and removed
t: unconfirmed bug
Type: bug - needs testing on if this is an issue
labels
Apr 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
if the minimum value of nextcord.Range[x. y] is zero, negative numbers will be also accepted.
Reproduction Steps
Minimal Reproducible Code
Expected Results
Discord should not accept negative numbers if the minimum value is zero.
Actual Results
i was able to input negative numbers into the field and they were accepted as valid.
Intents
nextcord.Intents().all()
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: