aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorNekokatt <[email protected]>2020-09-26 11:34:01 +0100
committerGitHub <[email protected]>2020-09-26 06:34:01 -0400
commit3084deee182bcdb5eda9092a531eb1bd17f7754a (patch)
treefe2d91a7dc878ddbf5239d00fe6f237212a90e8e /discord
parentMake Intent class creation more intuitive (diff)
downloaddiscord.py-3084deee182bcdb5eda9092a531eb1bd17f7754a.tar.xz
discord.py-3084deee182bcdb5eda9092a531eb1bd17f7754a.zip
Fixed incorrectly named 'Intent' class in doc.
`Intent.members` -> `Intents.members`.
Diffstat (limited to 'discord')
-rw-r--r--discord/guild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 21dd1262..4faa0125 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -711,7 +711,7 @@ class Guild(Hashable):
.. warning::
Due to a Discord limitation, in order for this attribute to remain up-to-date and
- accurate, it requires :attr:`Intent.members` to be specified.
+ accurate, it requires :attr:`Intents.members` to be specified.
"""
return self._member_count