Skip to content

Commit ea95c35

Browse files
JustaSqu1dpre-commit-ci[bot]Lulalaby
authored
docs: clarify defer's ephemeral arg (#2053)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Lala Sabathil <[email protected]>
1 parent bd28a34 commit ea95c35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

discord/interactions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,10 @@ async def defer(self, *, ephemeral: bool = False, invisible: bool = True) -> Non
676676
- :attr:`InteractionType.component`
677677
- :attr:`InteractionType.modal_submit`
678678
679+
.. note::
680+
The follow-up response will also be non-ephemeral if the `ephemeral`
681+
argument is ``False``, and ephemeral if ``True``.
682+
679683
Parameters
680684
----------
681685
ephemeral: :class:`bool`

0 commit comments

Comments
 (0)