Skip to content

Commit 754e175

Browse files
authored
Merge branch 'master' into feat/format_dt-time
2 parents 8487692 + 46adb25 commit 754e175

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ These changes are available on the `master` branch, but have not yet been releas
101101
([#2709](https://github.com/Pycord-Development/pycord/pull/2709))
102102
- Fixed `ForumChannel.edit` allowing `default_reaction_emoji` to be `None`
103103
([#2739](https://github.com/Pycord-Development/pycord/pull/2739))
104+
- Fixed missing `None` type hints in `Select.__init__`.
105+
([#2746])(https://github.com/Pycord-Development/pycord/pull/2746)
104106

105107
### Changed
106108

discord/ui/select.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ def __init__(
130130
placeholder: str | None = None,
131131
min_values: int = 1,
132132
max_values: int = 1,
133-
options: list[SelectOption] = None,
134-
channel_types: list[ChannelType] = None,
133+
options: list[SelectOption] | None = None,
134+
channel_types: list[ChannelType] | None = None,
135135
disabled: bool = False,
136136
row: int | None = None,
137137
) -> None:

0 commit comments

Comments
 (0)