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

@ -351,6 +351,8 @@ class Interaction:
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
------- -------
HTTPException HTTPException
@ -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
------- -------

View File

@ -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
-------- --------
@ -1596,6 +1597,8 @@ class Webhook(BaseWebhook):
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
------- -------
HTTPException HTTPException