mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Deprecate with_expiration param in fetch_invite
This commit is contained in:
@ -1864,12 +1864,10 @@ class HTTPClient:
|
||||
invite_id: str,
|
||||
*,
|
||||
with_counts: bool = True,
|
||||
with_expiration: bool = True,
|
||||
guild_scheduled_event_id: Optional[Snowflake] = None,
|
||||
) -> Response[invite.Invite]:
|
||||
params: Dict[str, Any] = {
|
||||
'with_counts': int(with_counts),
|
||||
'with_expiration': int(with_expiration),
|
||||
}
|
||||
|
||||
if guild_scheduled_event_id:
|
||||
|
Reference in New Issue
Block a user