Skip to content

Commit

Permalink
docs: clarify defer's ephemeral arg (#2053)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lala Sabathil <lala@pycord.dev>
  • Loading branch information
3 people authored May 7, 2023
1 parent bd28a34 commit ea95c35
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 @@ -676,6 +676,10 @@ async def defer(self, *, ephemeral: bool = False, invisible: bool = True) -> Non
- :attr:`InteractionType.component`
- :attr:`InteractionType.modal_submit`
.. note::
The follow-up response will also be non-ephemeral if the `ephemeral`
argument is ``False``, and ephemeral if ``True``.
Parameters
----------
ephemeral: :class:`bool`
Expand Down

0 comments on commit ea95c35

Please sign in to comment.