mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Deprecate with_expiration param in fetch_invite
This commit is contained in:
1 parent
ec409a0a7b
commit
6ec2e5329b
5 files changed
+9
-6
No files matched your search
@@ -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