Browse Source

Move with_counts parameter documentation where it belongs

pull/7704/head
Rapptz 3 years ago
parent
commit
c77bbc4dcf
  1. 10
      discord/client.py

10
discord/client.py

@ -1312,6 +1312,11 @@ class Client:
``guild_id`` parameter is now positional-only.
Parameters
-----------
guild_id: :class:`int`
The guild's ID to fetch from.
with_counts: :class:`bool`
Whether to include count information in the guild. This fills the
:attr:`.Guild.approximate_member_count` and :attr:`.Guild.approximate_presence_count`
@ -1319,11 +1324,6 @@ class Client:
.. versionadded:: 2.0
Parameters
-----------
guild_id: :class:`int`
The guild's ID to fetch from.
Raises
------
Forbidden

Loading…
Cancel
Save