Skip to content

Commit

Permalink
Update interactions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 authored Oct 31, 2021
1 parent ec79acf commit a0f3555
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions discord/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,14 +396,18 @@ def is_done(self) -> bool:

async def defer(self, *, ephemeral: bool = False) -> None:
"""|coro|
Defers the interaction response.
This is typically used when the interaction is acknowledged
and a secondary action will be done later.
Parameters
-----------
ephemeral: :class:`bool`
Indicates whether the deferred message will eventually be ephemeral.
If ``True`` for interactions of type :attr:`InteractionType.component`, this will send an ephemeral 'bot is thinking' message in the channel.
Raises
-------
HTTPException
Expand Down

0 comments on commit a0f3555

Please sign in to comment.