From a663678e65122ea611e8743248e8c13d5ef2e9a7 Mon Sep 17 00:00:00 2001 From: davfsa Date: Thu, 22 Dec 2022 00:55:25 +0100 Subject: [PATCH] Fix codeblock --- hikari/interactions/command_interactions.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hikari/interactions/command_interactions.py b/hikari/interactions/command_interactions.py index ee99105bf0..398a678eb5 100644 --- a/hikari/interactions/command_interactions.py +++ b/hikari/interactions/command_interactions.py @@ -424,12 +424,12 @@ def build_deferred_response(self) -> special_endpoints.InteractionDeferredBuilde Examples -------- - ```py - async def handle_command_interaction(interaction: CommandInteraction) -> InteractionMessageBuilder: - yield interaction.build_deferred_response() + .. code-block:: python + + async def handle_command_interaction(interaction: CommandInteraction) -> InteractionMessageBuilder: + yield interaction.build_deferred_response() - await interaction.edit_initial_response("Pong!") - ``` + await interaction.edit_initial_response("Pong!") Returns -------