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:
@ -250,13 +250,13 @@ class Guild(Hashable):
|
||||
|
||||
approximate_member_count: Optional[:class:`int`]
|
||||
The approximate number of members in the guild. This is ``None`` unless the guild is obtained
|
||||
using :meth:`Client.fetch_guild` with ``with_counts=True``.
|
||||
using :meth:`Client.fetch_guild` or :meth:`Client.fetch_guilds` with ``with_counts=True``.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
approximate_presence_count: Optional[:class:`int`]
|
||||
The approximate number of members currently active in the guild.
|
||||
Offline members are excluded. This is ``None`` unless the guild is obtained using
|
||||
:meth:`Client.fetch_guild` with ``with_counts=True``.
|
||||
:meth:`Client.fetch_guild` or :meth:`Client.fetch_guilds` with ``with_counts=True``.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
premium_progress_bar_enabled: :class:`bool`
|
||||
|
Reference in New Issue
Block a user