diff options
| author | Jaime Garcia Jr <[email protected]> | 2020-07-31 20:08:15 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-31 21:08:15 -0400 |
| commit | ab1c606ff2838ea4b71f66a3acf2174d48926239 (patch) | |
| tree | be7273b457f8b4a8bb2a6782f2d3b6d0231e4f5c | |
| parent | Fix NameError with resolving codes with Template (diff) | |
| download | discord.py-ab1c606ff2838ea4b71f66a3acf2174d48926239.tar.xz discord.py-ab1c606ff2838ea4b71f66a3acf2174d48926239.zip | |
Specify where to get max_members in documentation
| -rw-r--r-- | discord/guild.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py index 8e88bb45..ce32bfc9 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -104,7 +104,11 @@ class Guild(Hashable): max_presences: Optional[:class:`int`] The maximum amount of presences for the guild. max_members: Optional[:class:`int`] - The maximum amount of members for the guild. + The maximum amount of members for the guild. + + .. note:: + + This attribute is only available via :meth:`.Client.fetch_guild`. max_video_channel_users: Optional[:class:`int`] The maximum amount of users in a video channel. |