File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,18 @@ class Guild(Hashable):
253
253
The guild's NSFW level.
254
254
255
255
.. versionadded:: 2.0
256
+
257
+ approximate_member_count: Optional[:class:`int`]
258
+ The approximate number of members in the guild. This is ``None`` unless the guild is obtained
259
+ using :meth:`Client.fetch_guild` with ``with_counts=True``.
260
+ .. versionadded:: 2.0
261
+
262
+ approximate_presence_count: Optional[:class:`int`]
263
+ The approximate number of members currently active in the guild.
264
+ This includes idle, dnd, online, and invisible members. Offline members are excluded.
265
+ This is ``None`` unless the guild is obtained using :meth:`Client.fetch_guild`
266
+ with ``with_counts=True``.
267
+ .. versionadded:: 2.0
256
268
"""
257
269
258
270
__slots__ = (
You can’t perform that action at this time.
0 commit comments