mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Fix select decorator type checking error
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user