diff --git a/CHANGELOG.md b/CHANGELOG.md index e32c819f21..6bafe54a33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -151,6 +151,8 @@ These changes are available on the `master` branch, but have not yet been releas - Fixed type-hinting of `author` property of `ApplicationContext` to include typehinting of `User` or `Member`. ([#2148](https://github.com/Pycord-Development/pycord/pull/2148)) +- Fixed missing `delete_after` parameter in overload type-hinting for `send` method in + `Webhook` class. ([#2156](https://github.com/Pycord-Development/pycord/pull/2156)) ## [2.4.1] - 2023-03-20 diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 3a98c4baca..da001408ac 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -1567,6 +1567,7 @@ async def send( thread: Snowflake = MISSING, thread_name: str | None = None, wait: Literal[True], + delete_after: float = None, ) -> WebhookMessage: ... @@ -1588,6 +1589,7 @@ async def send( thread: Snowflake = MISSING, thread_name: str | None = None, wait: Literal[False] = ..., + delete_after: float = None, ) -> None: ...