diff options
| author | Stanisław Jelnicki <[email protected]> | 2021-05-13 02:34:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-12 20:34:44 -0400 |
| commit | 9b4e820bbe432081b59936975202853455c938a4 (patch) | |
| tree | 54a0908057d1f4a556fc78b5c0371ac1eeee70c3 /discord | |
| parent | Fix issues with imports causing NameErrors (diff) | |
| download | discord.py-9b4e820bbe432081b59936975202853455c938a4.tar.xz discord.py-9b4e820bbe432081b59936975202853455c938a4.zip | |
Document Invite.inviter as optional
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/invite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/invite.py b/discord/invite.py index ea551e1d..213ef5a4 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -262,7 +262,7 @@ class Invite(Hashable): max_uses: :class:`int` How many times the invite can be used. A value of ``0`` indicates that it has unlimited uses. - inviter: :class:`User` + inviter: Optional[:class:`User`] The user who created the invite. approximate_member_count: Optional[:class:`int`] The approximate number of members in the guild. |