You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I'm pretty sure that passing 0 as a minimum length is another way in saying "anything below the maximum number (negative or not) is allowed" as shown here
Although, I did also try making the minimum length 1 and the maximum length -1, which actually works. So this is a Discord bug (not too sure if it's a bug though, since it's been like this since max/min lengths for options were a thing) and not really something that we (as nextcord) can do about it.
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?
also, shouldn't passing "..." as the minimum be the way to accept any number and not "0"?
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: