mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add with_counts param to fetch_guilds
This commit is contained in:
1 parent
53ce05b0d0
commit
66689e16e8
3 files changed
+15
-5
No files matched your search
@@ -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