aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorStanisÅ‚aw Jelnicki <[email protected]>2021-05-13 02:34:44 +0200
committerGitHub <[email protected]>2021-05-12 20:34:44 -0400
commit9b4e820bbe432081b59936975202853455c938a4 (patch)
tree54a0908057d1f4a556fc78b5c0371ac1eeee70c3 /discord
parentFix issues with imports causing NameErrors (diff)
downloaddiscord.py-9b4e820bbe432081b59936975202853455c938a4.tar.xz
discord.py-9b4e820bbe432081b59936975202853455c938a4.zip
Document Invite.inviter as optional
Diffstat (limited to 'discord')
-rw-r--r--discord/invite.py2
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.