add versionadded:: 2.0 for changes
This commit is contained in:
@@ -350,6 +350,8 @@ class Interaction:
|
|||||||
delay: Optional[:class:`float`]
|
delay: Optional[:class:`float`]
|
||||||
If provided, the number of seconds to wait before deleting the message.
|
If provided, the number of seconds to wait before deleting the message.
|
||||||
The waiting is done in the background and deletion failures are ignored.
|
The waiting is done in the background and deletion failures are ignored.
|
||||||
|
|
||||||
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Raises
|
Raises
|
||||||
-------
|
-------
|
||||||
@@ -494,6 +496,7 @@ class InteractionResponse:
|
|||||||
is set to 15 minutes.
|
is set to 15 minutes.
|
||||||
delete_after: Optional[:class:`float`]
|
delete_after: Optional[:class:`float`]
|
||||||
The amount of seconds the bot should wait before deleting the message sent.
|
The amount of seconds the bot should wait before deleting the message sent.
|
||||||
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Raises
|
Raises
|
||||||
-------
|
-------
|
||||||
|
@@ -1339,6 +1339,7 @@ class Webhook(BaseWebhook):
|
|||||||
delete_after: Optional[:class:`float`]
|
delete_after: Optional[:class:`float`]
|
||||||
If provided, the number of seconds to wait before deleting the message.
|
If provided, the number of seconds to wait before deleting the message.
|
||||||
The waiting is done in the background and deletion failures are ignored.
|
The waiting is done in the background and deletion failures are ignored.
|
||||||
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Raises
|
Raises
|
||||||
--------
|
--------
|
||||||
@@ -1595,6 +1596,8 @@ class Webhook(BaseWebhook):
|
|||||||
delay: Optional[:class:`float`]
|
delay: Optional[:class:`float`]
|
||||||
If provided, the number of seconds to wait before deleting the message.
|
If provided, the number of seconds to wait before deleting the message.
|
||||||
The waiting is done in the background and deletion failures are ignored.
|
The waiting is done in the background and deletion failures are ignored.
|
||||||
|
|
||||||
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Raises
|
Raises
|
||||||
-------
|
-------
|
||||||
|
Reference in New Issue
Block a user