Fixed incorrectly named 'Intent' class in doc.

`Intent.members` -> `Intents.members`.
This commit is contained in:
Nekokatt 2020-09-26 11:34:01 +01:00 committed by GitHub
parent e4d7f44aa5
commit 3084deee18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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