diff --git a/discord/interactions.py b/discord/interactions.py index 508dc665..6261346b 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -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 ------- diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index f84cde2c..23a54f6b 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -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 -------