Document Invite.inviter as optional

This commit is contained in:
Stanisław Jelnicki authored and GitHub committed 2021-05-12 20:34:44 -04:00
1 parent 5fa64e83e0
commit 9b4e820bbe
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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.