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
+2
-2
@@ -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