From e713b86154f9fda404465643bc95c5b656921853 Mon Sep 17 00:00:00 2001 From: Willy Date: Sun, 27 Oct 2019 16:50:17 -0400 Subject: [PATCH] Added Optional to ClientUser.premium_type type hint --- discord/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/user.py b/discord/user.py index faa2eed1f..2880f10ae 100644 --- a/discord/user.py +++ b/discord/user.py @@ -300,7 +300,7 @@ class ClientUser(BaseUser): Specifies if the user has MFA turned on and working. premium: :class:`bool` Specifies if the user is a premium user (e.g. has Discord Nitro). - premium_type: :class:`PremiumType` + premium_type: Optional[:class:`PremiumType`] Specifies the type of premium a user has (e.g. Nitro or Nitro Classic). Could be None if the user is not premium. """ __slots__ = BaseUser.__slots__ + \