Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit b7cf883

Browse files
author
kuso-senpai
committed
fixed selectmenu
1 parent 29c6316 commit b7cf883

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ You can find more (and better) examples [here](https://github.com/discord-py-ui/
147147

148148
# Changelog
149149

150+
- <details>
151+
<summary>3.3.5</summary>
152+
153+
## **Fixed**
154+
- SelectMenu
155+
> SelectMenu issue when creating it from data
156+
157+
</details>
158+
150159
- <details>
151160
<summary>3.3.4</summary>
152161

discord_ui/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343

4444

4545
__title__ = "discord-ui"
46-
__version__ = "3.3.4"
46+
__version__ = "3.3.5"

discord_ui/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,6 @@ def make_component(data, new_line = False):
842842
return LinkButton._fromData(data, new_line)
843843
return Button._fromData(data, new_line)
844844
if data["type"] == ComponentType.SELECT_MENU:
845-
return SelectMenu._fromData(data, new_line)
845+
return SelectMenu._fromData(data)
846846
# if data["type"] == ComponentType.ACTION_ROW:
847847
# return ActionRow._fromData(data)

0 commit comments

Comments
 (0)