diff --git a/discord/client.py b/discord/client.py index 0b6e4fa4b..88c390be0 100644 --- a/discord/client.py +++ b/discord/client.py @@ -2511,7 +2511,7 @@ class Client: ) return Invite.from_incomplete(state=self._connection, data=data) - async def delete_invite(self, invite: Union[Invite, str], /, *, reason: Optional[str]) -> Invite: + async def delete_invite(self, invite: Union[Invite, str], /, *, reason: Optional[str] = None) -> Invite: """|coro| Revokes an :class:`.Invite`, URL, or ID to an invite.