Skip to content

Commit

Permalink
Fix codeblock
Browse files Browse the repository at this point in the history
  • Loading branch information
davfsa committed Dec 21, 2022
1 parent 836fcf7 commit a663678
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hikari/interactions/command_interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down

0 comments on commit a663678

Please sign in to comment.