diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e225b40ef..36d9e65d29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -99,6 +99,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#2709](https://github.com/Pycord-Development/pycord/pull/2709)) - Fixed `ForumChannel.edit` allowing `default_reaction_emoji` to be `None` ([#2739](https://github.com/Pycord-Development/pycord/pull/2739)) +- Fixed missing `None` type hints in `Select.__init__`. + ([#2746])(https://github.com/Pycord-Development/pycord/pull/2746) ### Changed diff --git a/discord/ui/select.py b/discord/ui/select.py index 496446e61c..35785890b5 100644 --- a/discord/ui/select.py +++ b/discord/ui/select.py @@ -130,8 +130,8 @@ def __init__( placeholder: str | None = None, min_values: int = 1, max_values: int = 1, - options: list[SelectOption] = None, - channel_types: list[ChannelType] = None, + options: list[SelectOption] | None = None, + channel_types: list[ChannelType] | None = None, disabled: bool = False, row: int | None = None, ) -> None: