add versionadded:: 2.0 for changes

This commit is contained in:
Ethan Olchik 2021-09-28 13:38:01 +01:00
parent b3aa87582f
commit e98c97a4cb
2 changed files with 6 additions and 0 deletions

View File

@ -350,6 +350,8 @@ class Interaction:
delay: Optional[:class:`float`]
If provided, the number of seconds to wait before deleting the message.
The waiting is done in the background and deletion failures are ignored.
.. versionadded:: 2.0
Raises
-------
@ -494,6 +496,7 @@ class InteractionResponse:
is set to 15 minutes.
delete_after: Optional[:class:`float`]
The amount of seconds the bot should wait before deleting the message sent.
.. versionadded:: 2.0
Raises
-------

View File

@ -1339,6 +1339,7 @@ class Webhook(BaseWebhook):
delete_after: Optional[:class:`float`]
If provided, the number of seconds to wait before deleting the message.
The waiting is done in the background and deletion failures are ignored.
.. versionadded:: 2.0
Raises
--------
@ -1595,6 +1596,8 @@ class Webhook(BaseWebhook):
delay: Optional[:class:`float`]
If provided, the number of seconds to wait before deleting the message.
The waiting is done in the background and deletion failures are ignored.
.. versionadded:: 2.0
Raises
-------