From f07569e03a49519a51d023a5e452bddbe55793f0 Mon Sep 17 00:00:00 2001 From: Astrea49 <25420078+Astrea49@users.noreply.github.com> Date: Sun, 12 Jun 2022 12:40:32 -0400 Subject: [PATCH] fix: give SelectMenu a default type --- interactions/client/models/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactions/client/models/component.py b/interactions/client/models/component.py index d716b47bc..e0e04a3ff 100644 --- a/interactions/client/models/component.py +++ b/interactions/client/models/component.py @@ -84,7 +84,7 @@ class SelectMenu(ComponentMixin): :ivar Optional[bool] disabled?: Whether the select menu is unable to be used. """ - type: ComponentType = field(converter=ComponentType) + type: ComponentType = field(converter=ComponentType, default=ComponentType.SELECT) custom_id: str = field() options: List[SelectOption] = field(converter=convert_list(SelectOption)) placeholder: Optional[str] = field(default=None)