mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Fix select decorator type checking error
This commit is contained in:
parent
e6ef43139f
commit
40227f75de
@ -752,7 +752,7 @@ def select(
|
|||||||
|
|
||||||
def select(
|
def select(
|
||||||
*,
|
*,
|
||||||
cls: Type[BaseSelectT] = Select,
|
cls: Type[BaseSelectT] = Select[V],
|
||||||
options: List[SelectOption] = MISSING,
|
options: List[SelectOption] = MISSING,
|
||||||
channel_types: List[ChannelType] = MISSING,
|
channel_types: List[ChannelType] = MISSING,
|
||||||
placeholder: Optional[str] = None,
|
placeholder: Optional[str] = None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user