mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add with_counts param to fetch_guilds
This commit is contained in:
@ -1373,9 +1373,11 @@ class HTTPClient:
|
||||
limit: int,
|
||||
before: Optional[Snowflake] = None,
|
||||
after: Optional[Snowflake] = None,
|
||||
with_counts: bool = True,
|
||||
) -> Response[List[guild.Guild]]:
|
||||
params: Dict[str, Any] = {
|
||||
'limit': limit,
|
||||
'with_counts': int(with_counts),
|
||||
}
|
||||
|
||||
if before:
|
||||
|
Reference in New Issue
Block a user