Browse Source

Fix select decorator type checking error

pull/7720/merge
Rapptz 2 years ago
parent
commit
40227f75de
  1. 2
      discord/ui/select.py

2
discord/ui/select.py

@ -752,7 +752,7 @@ def select(
def select(
*,
cls: Type[BaseSelectT] = Select,
cls: Type[BaseSelectT] = Select[V],
options: List[SelectOption] = MISSING,
channel_types: List[ChannelType] = MISSING,
placeholder: Optional[str] = None,

Loading…
Cancel
Save