|
@ -848,7 +848,7 @@ class InteractionResponse(Generic[ClientT]): |
|
|
*, |
|
|
*, |
|
|
ephemeral: bool = ..., |
|
|
ephemeral: bool = ..., |
|
|
thinking: bool = ..., |
|
|
thinking: bool = ..., |
|
|
with_response: Literal[False] = ..., |
|
|
with_response: Literal[False] = False, |
|
|
) -> None: |
|
|
) -> None: |
|
|
... |
|
|
... |
|
|
|
|
|
|
|
@ -1010,7 +1010,7 @@ class InteractionResponse(Generic[ClientT]): |
|
|
silent: bool = ..., |
|
|
silent: bool = ..., |
|
|
delete_after: Optional[float] = ..., |
|
|
delete_after: Optional[float] = ..., |
|
|
poll: Poll = ..., |
|
|
poll: Poll = ..., |
|
|
with_response: Literal[False] = ..., |
|
|
with_response: Literal[False] = False, |
|
|
) -> None: |
|
|
) -> None: |
|
|
... |
|
|
... |
|
|
|
|
|
|
|
@ -1194,7 +1194,7 @@ class InteractionResponse(Generic[ClientT]): |
|
|
allowed_mentions: Optional[AllowedMentions] = ..., |
|
|
allowed_mentions: Optional[AllowedMentions] = ..., |
|
|
delete_after: Optional[float] = ..., |
|
|
delete_after: Optional[float] = ..., |
|
|
suppress_embeds: bool = ..., |
|
|
suppress_embeds: bool = ..., |
|
|
with_response: Literal[False] = ..., |
|
|
with_response: Literal[False] = False, |
|
|
) -> None: |
|
|
) -> None: |
|
|
... |
|
|
... |
|
|
|
|
|
|
|
@ -1350,7 +1350,7 @@ class InteractionResponse(Generic[ClientT]): |
|
|
... |
|
|
... |
|
|
|
|
|
|
|
|
@overload |
|
|
@overload |
|
|
async def send_modal(self, modal: Modal, /, *, with_response: Literal[False] = ...) -> None: |
|
|
async def send_modal(self, modal: Modal, /, *, with_response: Literal[False] = False) -> None: |
|
|
... |
|
|
... |
|
|
|
|
|
|
|
|
async def send_modal(self, modal: Modal, /, *, with_response: bool = True) -> Optional[InteractionCallbackResponse[ClientT]]: |
|
|
async def send_modal(self, modal: Modal, /, *, with_response: bool = True) -> Optional[InteractionCallbackResponse[ClientT]]: |
|
|