Mark User.avatar_url as attribute in Intents.members docstring

The line currently comes out to 
`User.avatar (User.avatar_url() and User.avatar_url_as())` 
but `User.avatar_url` is not callable.
This commit is contained in:
Steve C 2021-03-13 01:47:06 -05:00 committed by GitHub
parent a30a694e36
commit 7836046621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -476,7 +476,7 @@ class Intents(BaseFlags):
- :attr:`Member.nick`
- :attr:`Member.premium_since`
- :attr:`User.name`
- :attr:`User.avatar` (:meth:`User.avatar_url` and :meth:`User.avatar_url_as`)
- :attr:`User.avatar` (:attr:`User.avatar_url` and :meth:`User.avatar_url_as`)
- :attr:`User.discriminator`
For more information go to the :ref:`member intent documentation <need_members_intent>`.