diff options
| author | Steve C <[email protected]> | 2021-03-13 01:47:06 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-13 01:47:06 -0500 |
| commit | 7836046621d6b670730217ad4de321ef3ecd5cff (patch) | |
| tree | 6c85911fb32fd5dbea924427a70e2d19307cb3c4 /discord/flags.py | |
| parent | [commands] fix Context.channel property documented type (diff) | |
| download | discord.py-7836046621d6b670730217ad4de321ef3ecd5cff.tar.xz discord.py-7836046621d6b670730217ad4de321ef3ecd5cff.zip | |
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.
Diffstat (limited to 'discord/flags.py')
| -rw-r--r-- | discord/flags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/flags.py b/discord/flags.py index be90fa5c..9681be8a 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -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>`. |