diff --git a/discord/interactions.py b/discord/interactions.py index 17ce82fad..b1efe92dc 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -664,8 +664,8 @@ class InteractionCallbackActivity: class InteractionCallback: """Represents an interaction callback invoking interaction. - Attribute - --------- + Attributes + ---------- id: :class:`int` The ID of the interaction. type: :class:`InteractionType` @@ -1349,14 +1349,18 @@ class InteractionResponse(Generic[ClientT]): ) @overload - async def send_modal(self, modal: Modal, /, *, with_response: Literal[True] = ...) -> InteractionCallbackResponse[ClientT]: + async def send_modal( + self, modal: Modal, /, *, with_response: Literal[True] = ... + ) -> InteractionCallbackResponse[ClientT]: ... @overload 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]]: """|coro| Responds to this interaction by sending a modal.