From f113e50d7c855d5062b8baeabfe1db21c6a4a658 Mon Sep 17 00:00:00 2001 From: DA-344 <108473820+DA-344@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:56:31 +0100 Subject: [PATCH] chore: revert this change --- discord/interactions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/interactions.py b/discord/interactions.py index abbe2ee67..c4f8abb9a 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -848,7 +848,7 @@ class InteractionResponse(Generic[ClientT]): *, ephemeral: bool = ..., thinking: bool = ..., - with_response: Literal[False] = ..., + with_response: Literal[False] = False, ) -> None: ... @@ -1010,7 +1010,7 @@ class InteractionResponse(Generic[ClientT]): silent: bool = ..., delete_after: Optional[float] = ..., poll: Poll = ..., - with_response: Literal[False] = ..., + with_response: Literal[False] = False, ) -> None: ... @@ -1194,7 +1194,7 @@ class InteractionResponse(Generic[ClientT]): allowed_mentions: Optional[AllowedMentions] = ..., delete_after: Optional[float] = ..., suppress_embeds: bool = ..., - with_response: Literal[False] = ..., + with_response: Literal[False] = False, ) -> None: ... @@ -1350,7 +1350,7 @@ class InteractionResponse(Generic[ClientT]): ... @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]]: