Skip to content

Commit a0f3555

Browse files
authored
Update interactions.py
1 parent ec79acf commit a0f3555

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
@@ -396,14 +396,18 @@ def is_done(self) -> bool:
396396

397397
async def defer(self, *, ephemeral: bool = False) -> None:
398398
"""|coro|
399+
399400
Defers the interaction response.
401+
400402
This is typically used when the interaction is acknowledged
401403
and a secondary action will be done later.
404+
402405
Parameters
403406
-----------
404407
ephemeral: :class:`bool`
405408
Indicates whether the deferred message will eventually be ephemeral.
406409
If ``True`` for interactions of type :attr:`InteractionType.component`, this will send an ephemeral 'bot is thinking' message in the channel.
410+
407411
Raises
408412
-------
409413
HTTPException

0 commit comments

Comments
 (0)