Fix incorrect doc

I forgot about the decorator... min_values can also be 0, so this should prevent confusion
This commit is contained in:
iDutchy 2021-10-20 02:04:28 +02:00 committed by GitHub
parent f46d3bfa28
commit 63dbecf65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,7 +327,7 @@ def select(
ordering. The row number must be between 0 and 4 (i.e. zero indexed).
min_values: :class:`int`
The minimum number of items that must be chosen for this select menu.
Defaults to 1 and must be between 1 and 25.
Defaults to 1 and must be between 0 and 25.
max_values: :class:`int`
The maximum number of items that must be chosen for this select menu.
Defaults to 1 and must be between 1 and 25.