mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Tweak wording for "less than" Range error
Keeping it consistent!
This commit is contained in:
parent
3aa55ba1ed
commit
98ca16ef67
@ -607,7 +607,7 @@ class RangeError(BadArgument):
|
|||||||
if minimum is None and maximum is not None:
|
if minimum is None and maximum is not None:
|
||||||
label = f'no more than {maximum}'
|
label = f'no more than {maximum}'
|
||||||
elif minimum is not None and maximum is None:
|
elif minimum is not None and maximum is None:
|
||||||
label = f'not less than {minimum}'
|
label = f'no less than {minimum}'
|
||||||
elif maximum is not None and minimum is not None:
|
elif maximum is not None and minimum is not None:
|
||||||
label = f'between {minimum} and {maximum}'
|
label = f'between {minimum} and {maximum}'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user