From 9b4e820bbe432081b59936975202853455c938a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Jelnicki?= Date: Thu, 13 May 2021 02:34:44 +0200 Subject: Document Invite.inviter as optional --- discord/invite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord') 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. -- cgit v1.2.3