Fix View.from_message not creating other Selects

This commit is contained in:
z03h authored and GitHub committed 2023-09-12 13:03:29 -04:00
1 parent 3827671bf7
commit e67d00502d
2 files changed
+21 -2

No files matched your search

+1
View File
@@ -235,6 +235,7 @@ class BaseSelect(Item[V]):
def from_component(cls, component: SelectMenu) -> Self:
return cls(
**{k: getattr(component, k) for k in cls.__item_repr_attributes__},
custom_id=component.custom_id,
row=None,
)