Browse Source

Fixed incorrectly named 'Intent' class in doc.

`Intent.members` -> `Intents.members`.
pull/5860/head
Nekokatt 5 years ago
committed by GitHub
parent
commit
3084deee18
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/guild.py

2
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

Loading…
Cancel
Save